Python Django Beginner: can’t open

Tags: ,

Trying to get started with Django on pycharm.

(venv) C:UsersVincePycharmProjectsassignment>python runserver

But I get this error message whenever i run

C:UsersVinceAppDataLocalProgramsPythonPython37-32python.exe: can’t open file ‘’: [Errno 2] No such file or directory

I do have a django directory opened with a file in it. Can anyone assist me on what to do?

I have tried other solutions, like:

python -vvvvv runserver
python migrate


You need to either specify the exact location of the file. I.e.:

python3 Users/Vince/Desktop/DjangoProject/ runserver

or cd to the directory it’s in and run from there.

cd Users/Vince/Desktop/DjangoProject > python runserver

Source: stackoverflow