Does't work django-admin startproject mfdw_site

Question:

I installed Python,and then Django.I checked that Django is installed with --version command.I installed VENV.

Now I want to start a Project,but django-admin startproject my_site does’t work.

I’m working with VScode.

What can I do?

Asked By: ariso arine

||

Answers:

this solution is for windows,so

first you have to create your VENV ;

python -m venv my_venv

then you have to activate it in my case windows;

my_venv/Script/activate

and then after you activate the Virtual environment :

pip install django

after that you can run either:

django-admin.exe startproject my_site

or:

django-admin startproject my_site

in some case’s it’s :

django-admin.py startproject my_site

i hope it’s helped

Answered By: Waled Ahmad