Dear all,
I’m new and still learning to be Dev. This is the 1st time I tried to deploy my Django project.
I’m trying to deploy my Django project name ‘Horoscope’ from my Github (GitHub - 595085/Horoscope: Horoscope django project). I’m encounter with the following error:
" File “”, line 1204, in _gcd_import
Dec 14 05:11:33 PM File “”, line 1176, in _find_and_load
Dec 14 05:11:33 PM File “”, line 1126, in _find_and_load_unlocked
Dec 14 05:11:33 PM File “”, line 241, in _call_with_frames_removed
Dec 14 05:11:33 PM File “”, line 1204, in _gcd_import
Dec 14 05:11:33 PM File “”, line 1176, in _find_and_load
Dec 14 05:11:33 PM File “”, line 1140, in _find_and_load_unlocked
Dec 14 05:11:33 PMModuleNotFoundError: No module named ‘Horoscope’
Dec 14 05:11:34 PM==> Exited with status 1
Dec 14 05:11:34 PM==> Common ways to troubleshoot your deploy: https://render.com/docs/troubleshooting-deploys
Dec 14 05:11:40 PM==> Running ‘python -m gunicorn Horoscope.asgi:application -k uvicorn.workers.UvicornWorker’
Dec 14 05:11:41 PMTraceback (most recent call last):
Dec 14 05:11:41 PM File “”, line 198, in _run_module_as_main
Dec 14 05:11:41 PM File “”, line 88, in _run_code
Dec 14 05:11:41 PM File “/opt/render/project/src/.venv/lib/python3.11/site-packages/gunicorn/main.py”, line 10, in
Dec 14 05:11:41 PM run(prog=“gunicorn”)
Dec 14 05:11:41 PM File “/opt/render/project/src/.venv/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py”, line 66, in run
Dec 14 05:11:41 PM WSGIApplication(“%(prog)s [OPTIONS] [APP_MODULE]”, prog=prog).run()
Dec 14 05:11:41 PM File “/opt/render/project/src/.venv/lib/python3.11/site-packages/gunicorn/app/base.py”, line 235, in run
Dec 14 05:11:41 PM super().run()
Dec 14 05:11:41 PM File “/opt/render/project/src/.venv/lib/python3.11/site-packages/gunicorn/app/base.py”, line 71, in run
Dec 14 05:11:41 PM Arbiter(self).run()
Dec 14 05:11:41 PM ^^^^^^^^^^^^^
Dec 14 05:11:41 PM File “/opt/render/project/src/.venv/lib/python3.11/site-packages/gunicorn/arbiter.py”, line 57, in init
Dec 14 05:11:41 PM self.setup(app)
Dec 14 05:11:41 PM File “/opt/render/project/src/.venv/lib/python3.11/site-packages/gunicorn/arbiter.py”, line 117, in setup
Dec 14 05:11:41 PM self.app.wsgi()
Dec 14 05:11:41 PM File “/opt/render/project/src/.venv/lib/python3.11/site-packages/gunicorn/app/base.py”, line 66, in wsgi
Dec 14 05:11:41 PM self.callable = self.load()
Dec 14 05:11:41 PM ^^^^^^^^^^^
Dec 14 05:11:41 PM File “/opt/render/project/src/.venv/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py”, line 57, in load
Dec 14 05:11:41 PM return self.load_wsgiapp()
Dec 14 05:11:41 PM ^^^^^^^^^^^^^^^^^^^
Dec 14 05:11:41 PM File “/opt/render/project/src/.venv/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py”, line 47, in load_wsgiapp
Dec 14 05:11:41 PM return util.import_app(self.app_uri)
Dec 14 05:11:41 PM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dec 14 05:11:41 PM File “/opt/render/project/src/.venv/lib/python3.11/site-packages/gunicorn/util.py”, line 370, in import_app
Dec 14 05:11:41 PM mod = importlib.import_module(module)
Dec 14 05:11:41 PM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dec 14 05:11:41 PM File “/usr/local/lib/python3.11/importlib/init.py”, line 126, in import_module
Dec 14 05:11:41 PM return _bootstrap._gcd_import(name[level:], package, level)
Dec 14 05:11:41 PM ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dec 14 05:11:41 PM File “”, line 1204, in _gcd_import
Dec 14 05:11:41 PM File “”, line 1176, in _find_and_load
Dec 14 05:11:41 PM File “”, line 1126, in _find_and_load_unlocked
Dec 14 05:11:41 PM File “”, line 241, in _call_with_frames_removed
Dec 14 05:11:41 PM File “”, line 1204, in _gcd_import
Dec 14 05:11:41 PM File “”, line 1176, in _find_and_load
Dec 14 05:11:41 PM File “”, line 1140, in _find_and_load_unlocked
Dec 14 05:11:41 PMModuleNotFoundError: No module named ‘Horoscope’
"
I’m confusing, my project name is Horoscope. Why the error tell me that No module named ‘Horoscope’
Any help and clarification would be very appreciate.
Thank you all in advance.