Forums

Error running WSGI application ModuleNotFoundError: No module named 'host.settings'

2022-01-18 05:38:40,889: Error running WSGI application 2022-01-18 05:38:40,890: ModuleNotFoundError: No module named 'host.settings' 2022-01-18 05:38:40,890: File "/var/www/rohan2n_pythonanywhere_com_wsgi.py", line 55, in <module> 2022-01-18 05:38:40,890: django.setup() 2022-01-18 05:38:40,890: 2022-01-18 05:38:40,890: File "/home/rohan2n/.virtualenvs/myEnv/lib/python3.8/site-packages/django/init.py", line 19, in setup 2022-01-18 05:38:40,890: configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) 2022-01-18 05:38:40,891: 2022-01-18 05:38:40,891: File "/home/rohan2n/.virtualenvs/myEnv/lib/python3.8/site-packages/django/conf/init.py", line 82, in getattr 2022-01-18 05:38:40,891: self._setup(name) 2022-01-18 05:38:40,891: 2022-01-18 05:38:40,891: File "/home/rohan2n/.virtualenvs/myEnv/lib/python3.8/site-packages/django/conf/init.py", line 69, in _setup 2022-01-18 05:38:40,891: self._wrapped = Settings(settings_module) 2022-01-18 05:38:40,891: 2022-01-18 05:38:40,891: File "/home/rohan2n/.virtualenvs/myEnv/lib/python3.8/site-packages/django/conf/init.py", line 170, in init 2022-01-18 05:38:40,892: mod = importlib.import_module(self.SETTINGS_MODULE) 2022-01-18 05:38:40,892: ******* 2022-01-18 05:38:40,892: If you're seeing an import error and don't know why, 2022-01-18 05:38:40,892: we have a dedicated help page to help you debug: 2022-01-18 05:38:40,892: https://help.pythonanywhere.com/pages/DebuggingImportError/ 2022-01-18 05:38:40,892: *******

We have a dedicated help page to help you debug: https://help.pythonanywhere.com/pages/DebuggingImportError/