Forums

Pythonanywhere don't import leaflet from installed apps

Im new in pythonanywhere. I have installet djano-leaflet and add it at installet apps but when i open my webapp errorlogs it says that there is no module leaflet

2017-10-18 19:00:40,819: Error running WSGI application 2017-10-18 19:00:40,822: ImportError: No module named leaflet 2017-10-18 19:00:40,822: File "/var/www/emasha_pythonanywhere_com_wsgi.py", line 61, in <module> 2017-10-18 19:00:40,822: application = get_wsgi_application() 2017-10-18 19:00:40,822: 2017-10-18 19:00:40,822: File "/home/EMasha/.virtualenvs/django18/local/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application 2017-10-18 19:00:40,822: django.setup(set_prefix=False) 2017-10-18 19:00:40,822: 2017-10-18 19:00:40,823: File "/home/EMasha/.virtualenvs/django18/local/lib/python2.7/site-packages/django/init.py", line 27, in setup 2017-10-18 19:00:40,823: apps.populate(settings.INSTALLED_APPS) 2017-10-18 19:00:40,823: 2017-10-18 19:00:40,823: File "/home/EMasha/.virtualenvs/django18/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate 2017-10-18 19:00:40,823: app_config = AppConfig.create(entry) 2017-10-18 19:00:40,823: 2017-10-18 19:00:40,823: File "/home/EMasha/.virtualenvs/django18/local/lib/python2.7/site-packages/django/apps/config.py", line 94, in create 2017-10-18 19:00:40,823: module = import_module(entry) 2017-10-18 19:00:40,823:

There is a link in the traceback to a help page for diagnosing import errors. Follow it and go through the process.