我已经安装了诗歌版本1.4.2
当我跑步时
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python
I get
The latest version (1.4.2) is already installed.
然而,当我跑步时poetry --version
我正进入(状态
poetry : The term 'poetry' 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
+ poetry
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (poetry:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
我是初学者,不确定是否应该将 PATH 环境变量添加到“系统变量”或“用户变量”,因此我已将以下内容添加到系统和用户的 PATH 中:%APPDATA%\pypoetry\venv\Scripts\poetry
and %APPDATA%\Python\Scripts
两者都不起作用,我仍然遇到相同的错误。
我哪里错了?
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)