python.exe: No module named django-admin Vscode Error

Issue

    (venv) PS D:\Project> python -m django-admin startproject home .
    D:\Project\venv\Scripts\python.exe: No module named django-admin

I have no clue what I am doing wrong. I am pretty new to this.
Vscode doesn’t show python in the status bar. I have already set the interpreter.
Every video on Youtube shows how to create the project directly.
Google gave me no results on this question.

Solution

its just django-admin startproject home . without the python -m

here’s documentation

Answered By – Peter Johnson

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published