ModuleNotFoundError: No module named ‘mysite’

I’m working on a python virtual environment:

  • Python 3.13.1
  • Django 5.1.6
  • At this moment without apps, just the project.

I’m trying to start the project with “runserver”, or I try to run makemigrations, or I try to run migrate, and I get this message: ModuleNotFoundError: No module named ‘mysite’

I’ve searched in my settings file, even in wsgi file and I see everything well. I’ve searched on Internet a lot of forums without success.

I changed Django version, without success, the same message.

I’ve created a lot of projects and I get this message for first time.

I checked if there is something with "mysite" declared.

Вернуться на верх