Forums

No Module Named Bootstrap3

I am using djnago-boostrap3 9.1.0 library in my project. I have added the virtualenv PATH in web tab>>virtualenvs also. And django-bootstrap3 is installed there with other packages, but still i am getting this below specified error. Please Help me :( Thank-You in Advance

2018-04-16 21:22:24,804: Error running WSGI application
2018-04-16 21:22:24,805: ImportError: No module named 'bootstrap3'
2018-04-16 21:22:24,805:   File "/var/www/stackqueries_pythonanywhere_com_wsgi.py", line 52, in <module>
2018-04-16 21:22:24,805:     django.setup()
2018-04-16 21:22:24,805: 
2018-04-16 21:22:24,806:   File "/usr/local/lib/python3.5/dist-packages/django/__init__.py", line 27, in setup
2018-04-16 21:22:24,806:     apps.populate(settings.INSTALLED_APPS)
2018-04-16 21:22:24,806: 
2018-04-16 21:22:24,806:   File "/usr/local/lib/python3.5/dist-packages/django/apps/registry.py", line 85, in populate
2018-04-16 21:22:24,806:     app_config = AppConfig.create(entry)
2018-04-16 21:22:24,806: 
2018-04-16 21:22:24,807:   File "/usr/local/lib/python3.5/dist-packages/django/apps/config.py", line 90, in create
2018-04-16 21:22:24,807:     module = import_module(entry)
2018-04-16 21:22:24,807: ***************************************************
2018-04-16 21:22:24,807: If you're seeing an import error and don't know why,
2018-04-16 21:22:24,807: we have a dedicated help page to help you debug:

[edit by admin: formatting]

Did you reload the website (from the "Web" tab) after installing the module? It won't pick up new packages until you do.

I did that all these things before starting website . After installing every packages required, I added environment path in web tab then executed the site but still getting the above given error.

That traceback indicates that your web app is not using a virtualenv. Are you sure you reloaded your web app after you configured the virtualenv?

Sorry. I didn't notice that there are 2 different people here. What is the exception you're seeing @FightBack?