user20954198
user20954198

Reputation:

I can't run the command : python manage.py runserver

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

Upvotes: -2

Views: 176

Answers (2)

derfacn
derfacn

Reputation: 28

Try again do new project with following commands:

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

Upvotes: 0

Divya Prakash
Divya Prakash

Reputation: 1004

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.

Upvotes: 1

Related Questions