Did you activate it?
Sincerely yours,
Joel G Mathew
On Tue, 25 Dec 2018 at 12:27, Atul Anand <atul.anand.nitt@gmail.com> wrote:
Hi Brad,Thanks for helping, but I am using a venv.please find the below snapshot of the venv detail.Please guide me if I am doing something wrong.Virtualenv:
Use a virtualenv to get different versions of flask, django etc from our default system ones. More info here. You need to Reload your web app to activate it; NB - will do nothing if the virtualenv does not exist.
--On Tue, Dec 25, 2018 at 11:05 AM Brad Pitcher <bradpitcher@gmail.com> wrote:The paths in your logs indicate you aren't using a virtualenv. Find the virtualenv section in the web tab and make sure you specify the path to your virtualenv there. Should be something like /home/[username]/.virtualenvs/djangoVenv--On Mon, Dec 24, 2018 at 8:09 AM Atul Anand <atul.anand.nitt@gmail.com> wrote:I am using virtual env: djangoVenv--On Mon, Dec 24, 2018 at 7:45 PM Joel Mathew <joel@joel.su> wrote:Use virtualenvSincerely yours,Joel G Mathew--On Mon, 24 Dec 2018 at 19:34, Atul Anand <atul.anand.nitt@gmail.com> wrote:--y code is working in local. But the same code when I am uploading into https://www.pythonanywhere.com. Its throwing error.Note: I have updated few things to make it compatible for django2,which is working for me in my local windows box.
https://www.pythonanywhere.com/user/crackjeeonline/webapps/#tab_id_crackjeeonline_pythonanywhere_com
https://github.com/atulanandnitt/simplesocial
result of pip freeze
- (djangoVenv) 07:50 ~/simplesocial (master)$ pip freeze
- -f /usr/share/pip-wheels
- argon2-cffi==18.3.0
- bcrypt==3.1.5
- certifi==2018.10.15
- cffi==1.11.5
- chardet==3.0.4
- coreapi==2.3.3
- coreschema==0.0.4
- Django==2.0.9
- django-bootstrap3==11.0.0
- django-braces==1.13.0
- django-cors-headers==2.4.0
- django-debug-toolbar==1.10.1
- django-filter==2.0.0
- django-tables2==2.0.3
- djangorestframework==3.9.0
- Faker==1.0.1
- idna==2.7
- itypes==1.1.0
- Jinja2==2.10
- Markdown==3.0.1
- MarkupSafe==1.1.0
- misaka==2.1.1
- Pillow==5.3.0
- pycparser==2.19
- python-dateutil==2.7.5
- pytz==2018.7
- requests==2.20.1
- six==1.12.0
- sqlparse==0.2.4
- text-unidecode==1.2
- uritemplate==3.0.0
Snippet from https://www.pythonanywhere.com/user/crackjeeonline/files/var/log/crackjeeonline.pythonanywhere.com.error.log
- 2018-12-23 06:53:44,347: Error running WSGI application
- 2018-12-23 06:53:44,355: ModuleNotFoundError: No module named 'debug_toolbar'
- 2018-12-23 06:53:44,356: File "/var/www/crackjeeonline_pythonanywhere_com_wsgi.py", line 54, in <module>
- 2018-12-23 06:53:44,356: django.setup()
- 2018-12-23 06:53:44,356:
- 2018-12-23 06:53:44,356: File "/usr/lib/python3.6/site-packages/django/__init__.py", line 24, in setup
- 2018-12-23 06:53:44,357: apps.populate(settings.INSTALLED_APPS)
- 2018-12-23 06:53:44,357:
- 2018-12-23 06:53:44,357: File "/usr/lib/python3.6/site-packages/django/apps/registry.py", line 89, in populate
- 2018-12-23 06:53:44,357: app_config = AppConfig.create(entry)
- 2018-12-23 06:53:44,358:
- 2018-12-23 06:53:44,358: File "/usr/lib/python3.6/site-packages/django/apps/config.py", line 90, in create
- 2018-12-23 06:53:44,358: module = import_module(entry)
- 2018-12-23 06:53:44,358: ***************************************************
- 2018-12-23 06:53:44,359: If you're seeing an import error and don't know why,
- 2018-12-23 06:53:44,359: we have a dedicated help page to help you debug:
- 2018-12-23 06:53:44,359: https://help.pythonanywhere.com/pages/DebuggingImportError/
Regards, Atul
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKHpVdTdwqMXje4KzTOSX1QF9FNR89oOQAB%2BkDncKQ7ZP93pyg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA%3Diw_8KJ0rwiy1CF8MQGBBCxufQHBcjFRxvrpctJsi9TJeUOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKHpVdSE8qdP%3DS1xxej%2BpJ_S--Y8mreVfPLNWiZaiyYjHHRunw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMFpZrgEw8okJta7Y_oRyts3QRRbYK1x2YFOSL0S_kTXBk4bVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKHpVdSZB9kwAYVkJfhor8M%3D9Y%3DVkxuSMB53u6Re_rC5gSpS6Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAA%3Diw_8OgaBsOhjL%3D82LQZXus0WHQFQ1CcKk6XNwhtutDtb9tw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment