Python - poetry(1)包管理利器的入门介绍

Python 虚拟环境详解

https://www.cnblogs.com/poloyy/p/15266382.html

 

poetry 官方介绍

github:https://github.com/python-poetry/poetry

文档(要??):https://python-poetry.org/docs/

 

安装

linux、mac 下安装

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -

 

window 下安装

(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -

 

卸载

python get-poetry.py --uninstall

 

更新到最新的稳定版本

poetry self update

 

更新到预发布版本

poetry self update --preview

 

通过 pipx 安装、更新、卸载

安装 pipx

pip install pipx

 

安装、更新、卸载

pipx install poetry

pipx upgrade poetry

pipx uninstall poetry

  

Python - poetry(1)包管理利器的入门介绍

上一篇:Wordpress网站显示ICP备案号


下一篇:如何做一个简单的瀑布流