简体   繁体   English

无法使用“C:\Users\Abhishek Anand\AppData\Local\Programs\Python\Python310\python.exe manage.py runserver”创建进程

[英]Unable to create process using 'C:\Users\Abhishek Anand\AppData\Local\Programs\Python\Python310\python.exe manage.py runserver'

I'm trying to use runserver command over vs code terminal.我正在尝试在 vs 代码终端上使用 runserver 命令。 But now it is giving me the error.但现在它给了我错误。 " Unable to create process using 'C:\Users\Abhishek Anand\AppData\Local\Programs\Python\Python310\python.exe manage.py runserver'". “无法使用 'C:\Users\Abhishek Anand\AppData\Local\Programs\Python\Python310\python.exe manage.py runserver' 创建进程”。 But I have the python interpreter in my environment path.但是我的环境路径中有 python 解释器。 Also, I have my virtual environment which I created while initiating the project but still and using the interpreter in my environment I was getting the same error..另外,我有我在启动项目时创建的虚拟环境,但仍然在我的环境中使用解释器,我得到了同样的错误..

Please help me out with that.请帮我解决这个问题。 enter image description here在此处输入图像描述

Try running server on cmd. Go to Folder and type python manage.py runserver.尝试在 cmd 上运行服务器。Go 到文件夹并键入 python manage.py runserver。 (Instead of use py use python or python3) (而不是使用 py 使用 python 或 python3)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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