[Help] Django ModuleNotFoundError when deploying to Render

I’m struggling with a deployment issue on Render with my Django project.I’m struggling with a deployment issue on Render with my Django project. When deploying, I get
ModuleNotFoundError: No module named 'accounts'
Project Structure:
portfolio_app/
└── django_portfolio_app/
├── portfolio_app/
│ ├── init.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
├── accounts/
├── projects/
├── resume/
├── forum/
├── theme/
│ └── static/
└── manage.py
I did specify in the render deployment settings that django_portfolio_app is the root directory. No idea where to go from now on, as I’m stuck on this error since yesterday. Thanks for any advice and feedback

1 Like

I have not tried to deploy with Render but I will try to check for general issues.

  1. Generally speaking, “root directory” refers to the directory where your manage.py is located.
  2. Have you added django_portfolio_app to INSTALLED_APPS in your settings.py file?