Start Command doesn't run

I’m trying to deploy a Django website. My start command is ‘gunicorn dci.wsgi:application’ because my project is called ‘dci’.

When I start Gunicorn, this error appears for me: ‘ModuleNotFoundError: No module named ‘dci.wsgi’.’

Can anyone help me?

Here’s my project on github: GitHub - gabrielqr/site-dci

Anyone to help me? up

This is the log:

Jul 24 08:33:32 PM ==> Starting service with ‘gunicorn dci.wsgi:application’
Jul 24 08:33:32 PM Traceback (most recent call last):
Jul 24 08:33:32 PM File “/opt/render/project/src/.venv/bin/gunicorn”, line 8, in
Jul 24 08:33:32 PM sys.exit(run())
Jul 24 08:33:32 PM File “/opt/render/project/src/.venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py”, line 67, in run
Jul 24 08:33:32 PM WSGIApplication(“%(prog)s [OPTIONS] [APP_MODULE]”).run()
Jul 24 08:33:32 PM File “/opt/render/project/src/.venv/lib/python3.8/site-packages/gunicorn/app/base.py”, line 236, in run
Jul 24 08:33:32 PM super().run()
Jul 24 08:33:32 PM File “/opt/render/project/src/.venv/lib/python3.8/site-packages/gunicorn/app/base.py”, line 72, in run
Jul 24 08:33:32 PM Arbiter(self).run()
Jul 24 08:33:32 PM File “/opt/render/project/src/.venv/lib/python3.8/site-packages/gunicorn/arbiter.py”, line 58, in init
Jul 24 08:33:32 PM self.setup(app)
Jul 24 08:33:32 PM File “/opt/render/project/src/.venv/lib/python3.8/site-packages/gunicorn/arbiter.py”, line 118, in setup
Jul 24 08:33:32 PM self.app.wsgi()
Jul 24 08:33:32 PM File “/opt/render/project/src/.venv/lib/python3.8/site-packages/gunicorn/app/base.py”, line 67, in wsgi
Jul 24 08:33:32 PM self.callable = self.load()
Jul 24 08:33:32 PM File “/opt/render/project/src/.venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py”, line 58, in load
Jul 24 08:33:32 PM return self.load_wsgiapp()
Jul 24 08:33:32 PM File “/opt/render/project/src/.venv/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py”, line 48, in load_wsgiapp
Jul 24 08:33:32 PM return util.import_app(self.app_uri)
Jul 24 08:33:32 PM File “/opt/render/project/src/.venv/lib/python3.8/site-packages/gunicorn/util.py”, line 371, in import_app
Jul 24 08:33:32 PM mod = importlib.import_module(module)
Jul 24 08:33:32 PM File “/opt/render/project/python/Python-3.8.10/lib/python3.8/importlib/init.py”, line 127, in import_module
Jul 24 08:33:32 PM return _bootstrap._gcd_import(name[level:], package, level)
Jul 24 08:33:32 PM File “”, line 1014, in _gcd_import
Jul 24 08:33:32 PM File “”, line 991, in _find_and_load
Jul 24 08:33:32 PM File “”, line 973, in _find_and_load_unlocked
Jul 24 08:33:32 PM ModuleNotFoundError: No module named ‘dci.wsgi’

Hi,

I’ve responded to the ticket that you also opened and It seems you were able to resolve your issue.

Maybe you could share your solution with the community?

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.