简体   繁体   English

如何在windows命令promt中创建一个django项目,我收到错误“系统找不到指定的路径”

[英]how to create a django project in windows command promt, i am getting an error of “the system cannot find the the path specified”

While creating a django project in windows using command prompt,I created a directory using mkdir djproject ->my directory name . 在使用命令提示符在Windows中创建django项目时,我使用mkdir djproject ->my directory name创建了一个目录mkdir djproject ->my directory name Then when I tried creating a project using cd project -> my project name , I received the error message "the system cannot find the path specified". 然后,当我尝试使用cd project -> my project name创建cd project -> my project name ,我收到错误消息“系统无法找到指定的路径”。

(myproject) C:\Users\USER>django-admin --version
2.2.1

(myproject) C:\Users\USER>mkdir djproject

(myproject) C:\Users\USER>cd djproject1
    The system cannot find the path specified.
(myproject) C:\Users\USER>django-admin --version
2.2.1

[1](myproject) C:\Users\USER>mkdir djproject <-- You created a directory named djproject

[2](myproject) C:\Users\USER>cd djproject1 
The system cannot find the path specified. <-- This error is caused by [2], 
because you're trying to cd into a directory that does not exist.

If you would type dir before the [2] command, you would see that the only folder is djproject . 如果你在[2]命令之前键入dir ,你会发现唯一的文件夹是djproject The correct syntax for creating a Django App is: django startproject <your_app_name> 创建Django App的正确语法是: django startproject <your_app_name>

暂无
暂无

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

相关问题 即使我安装了 pip 并且系统找不到指定的路径错误,我也遇到了一些导入错误 - I am getting some import error even though I pip installed it and The system cannot find the path specified error Windows / Python错误WindowsError:[错误3]系统找不到指定的路径 - Windows/Python Error WindowsError: [Error 3] The system cannot find the path specified Windows 错误 3:系统找不到指定的路径 pyinstaller - Windows Error 3 : The system cannot find the path specified pyinstaller 收到以下错误:FileNotFoundError: [WinError 3] 系统找不到指定的路径: - Getting the following Error: FileNotFoundError: [WinError 3] The system cannot find the path specified: 我收到“系统找不到指定的路径”错误 - I'm getting “The system can not find the specified path” error WindowsError:[错误3]系统找不到指定的路径? - WindowsError: [Error 3] The system cannot find the path specified? WindowsError:[错误3]系统找不到指定的路径 - WindowsError: [Error 3] The system cannot find the path specified Python:[错误3]系统找不到指定的路径: - Python :[Error 3] The system cannot find the path specified: 使用 Openai 的 whisper ai 时出现以下错误:FileNotFoundError: [WinError 2] The system cannot find the file specified - I am getting the following error while using Openai's whisper ai : FileNotFoundError: [WinError 2] The system cannot find the file specified 从命令提示符运行 pySpark 时出现“系统找不到指定的路径”错误 - "The system cannot find the path specified" error while running pySpark from command prompt
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM