admin管理员组文章数量:1026989
参考stackoverflow的老哥:https://stackoverflow/questions/67813396/modulenotfounderror-no-module-named-poetry-console
- 首先卸载电脑上所有的poetry相关的文件
curl -sSL https://raw.githubusercontent/python-poetry/poetry/master/install-poetry.py > install-poetry.py
python install-poetry.py --uninstall
curl -sSL https://raw.githubusercontent/python-poetry/poetry/master/get-poetry.py > get-poetry.py
python get-poetry.py --uninstall
- 安装新的poetry
curl -sSL https://raw.githubusercontent/python-poetry/poetry/master/install-poetry.py > install-poetry.py
python install-poetry.py
- 检查
%APPDATA%\Python\Scripts
路径下是否有poetry,有的话添加到path的环境变量 - 新开一个cmd,输入
poetry --version
检查是否能正确读出版本,能的话即安装成功
ps:不知道为什么发文时选翻译或转载,然后贴了stackoverflow的链接显示请填写正确的文章链接,所以只能选原创了
参考stackoverflow的老哥:https://stackoverflow/questions/67813396/modulenotfounderror-no-module-named-poetry-console
- 首先卸载电脑上所有的poetry相关的文件
curl -sSL https://raw.githubusercontent/python-poetry/poetry/master/install-poetry.py > install-poetry.py
python install-poetry.py --uninstall
curl -sSL https://raw.githubusercontent/python-poetry/poetry/master/get-poetry.py > get-poetry.py
python get-poetry.py --uninstall
- 安装新的poetry
curl -sSL https://raw.githubusercontent/python-poetry/poetry/master/install-poetry.py > install-poetry.py
python install-poetry.py
- 检查
%APPDATA%\Python\Scripts
路径下是否有poetry,有的话添加到path的环境变量 - 新开一个cmd,输入
poetry --version
检查是否能正确读出版本,能的话即安装成功
ps:不知道为什么发文时选翻译或转载,然后贴了stackoverflow的链接显示请填写正确的文章链接,所以只能选原创了
版权声明:本文标题:windows安装python的包管理器poetry 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/jiaocheng/1734804306a1266746.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论