Getting Error ModuleNotFoundError: No module named 'project_name

I’ve been trying to solve an error during deployment for the last 2 days. I’ve checked out many blogs and YouTube videos, but I’m still getting the same error.

Error Log ~ Render.com

**Screenshot**
"https://prnt.sc/pC-YV6FRqGPX"
"https://prnt.sc/YzlsNMawfaU6"
"https://prnt.sc/a3pmYPUzdKPH"
"https://prnt.sc/fBlJQmFAc-Ck"

alternative image for ModuleNotFoundError: No module named 'core

Here is our Start Command: ~ Screenshot link

"https://prnt.sc/S84I9cy_vKFT"

folder structure and WSGI_APPLICATION link: Screenshot link

"https://prnt.sc/I-NvQnA2qXsH"

wsgi file: Screenshot link

"https://prnt.sc/snbIOm-jJLEz"

requirements.txt Screenshot link

"https://prnt.sc/o7OqIyV8D3Ex"

github file structure: Screenshot link

"https://prnt.sc/YF-kiXZnaKkk"

Hi there,

It looks like your configuration is not set up correctly, e.g. start commands cannot point to URLs and must be a command that can be run within your Render service.

The specific error in the screenshot is likely informing you that it cannot find the file core.wsgi. Is this file located within the root directory of the linked Git repository on the service?

Regards,
Mike


Render Support Engineer, MT (UTC-6, UTC-7 in Winter)

But it is available:

Hi there,

Based on your screenshot, it looks like you have two core directories. Perhaps try updating your configuration (i.e. start & build commands) to reference core/core.wsgi?

Ultimately this is an application specific configuration problem that is not likely anything to do with Render specifically. If the above doesn’t help, perhaps try reaching out to a Python community that can provide more tailored advice.

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.