Home > Enterprise >  django-admin startproject webproject . The system cannot find the file specified
django-admin startproject webproject . The system cannot find the file specified

Time:12-31

When I tried following the instructions to create my Django project with these steps:

Create the Django project

In the VS Code Terminal where your virtual environment is activated, run the following command:

django-admin startproject web_project .

It didn't work.

Ran in (venv): django-admin startproject webproject .

Got: The system cannot find the file specified

CodePudding user response:

Make sure, You have installed latest version of django installed in your working virtual environment.

pip install -U django

So activate virtual env and run the command mentioned above.

django-admin startproject web_project

CodePudding user response:

Figured it out, instead just type:

python -m startproject testapp

And it should work.

  • Related