Home > Software engineering >  I can't run the command : python manage.py runserver
I can't run the command : python manage.py runserver

Time:01-08

I can't run the command 'python manage.py reunserver' on my terminal. I dont know why, here is what the terminal shows me :

enter image description here

Can please someone help me ?

I tried to execute the django dev server but it didn't worked. Normally, it show something like this : enter image description here

CodePudding user response:

You are not using virtual env. You need to activate your virtual env which you are using in your second image first then it will work flawlessly.

CodePudding user response:

Try again do new project with following commands:

python -m venv venv
venv\Scripts\Activate
pip -m install django
django-admin startporject NAME
  • Related