尝试这个
问题是,您尝试创建虚拟环境的位置不包含manage.py文件,这意味着您的manage.py不存在于项目文件夹中,这就是为什么出现此错误的原因。在下面修复
创建项目并运行虚拟环境时,始终使用此模式
1.) locate to the directory, lets say you are here C:desktopprojects
2.) now use below commands
pipenv install django==3.0.1
then start the virtual enviorment
pipenv shell
create project
django-admin startproject newproject .(don’t avoid this period)
run server
python manage.py runserver



