Poetry安装
安装
windows环境
打开windows powershell
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py -
安装成功后,反馈结果中有说明安装地址,将该地址放入window 环境变量–path中即可
使用poetry --version
验证是否配置成功
卸载
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py - --uninstall
配置Poetry环境地址
poetry config --list 查看配置表
poetry config virtualenvs.path 你自己想要修改的路径
使用
配置项目依赖项
在cmd控制台cd 到项目地址
poetry install