File “/opt/render/project/src/.venv/lib/python3.11/site-packages/gunicorn/app/wsgiapp.py”, line 47, in load_wsgiapp
return util.import_app(self.app_uri)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/render/project/src/.venv/lib/python3.11/site-packages/gunicorn/util.py”, line 370, in import_app
mod = importlib.import_module(module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “”, line 1204, in _gcd_import
File “”, line 1176, in _find_and_load
File “”, line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘app’
Hi there,
This error within this context typically means it cannot find the file app
within the root directory of the project. I recommend checking to make sure the file is actually there, or to adjust the root directory of the project as needed.
Regards,
Mike
Render Support Engineer, MT (UTC-6, UTC-7 in Winter)
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.