简体   繁体   中英

Django-admin isn't detected - windows

No matter what I try, I CANNOT use django admin to start a python project. Django is installed, in site-packages. I can call it from the python shell. Python is configured and is in my PATH. I've tried with venv and without. I'm out of solutions. Any ideas?

(I'm using the python 3.7 installation from the windows store)

You can try this approach,

first open that project folder or directory by terminal (do not launch virtual enviroment at here), then apply following commands;

pipenv shell

pipenv install django==3.0

python manage.py runserver

Note: if pipenv is not installed than run this command first; pip install pipenv (not in virtual environment) then follow the above commands.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM