【发布时间】:2021-03-26 15:34:04
【问题描述】:
我正在使用这个命令:
django-admin startproject Hello
要启动一个新项目,但出现以下错误
django-admin : The term 'django-admin' is not recognized as the name
of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ django-admin startproject Hello
+ ~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (django-admin:String)
[], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
刚开始使用 django,这太令人沮丧了
【问题讨论】:
-
应该是 django-admin startproject Hello,而不是 django-admin STRATproject Hello
-
忽略拼写错误仍然无效
-
@Ankita Basu - 输入“python”时,VS Code外的系统终端是否进入python交互窗口?
标签: python django visual-studio-code