I can't use "python manage.py runserver

You’re using the Python Console in PyCharm not the Terminal (Powershell).
At the bottom switch to the tab ‘Terminal’ two to the left and it should work.

And then ofc make shure you’re using the right interpreter and you are in the right directory (the line in front of the space where you type in the terminal). This should however be done automatically by PyCharm because IDEs are such nice tools :grin:

I am having this same issue even running on terminal.

I am running into the same error in the Terminal. (Context: On Mac)

I remember having similar issue but, in my case, it was because I did not cd into the correct directory containing manage.py.

1 Like