0%

poetry使用

poetry使用

1
2
3
4
5
poetry config virtualenvs.in-project true
poetry config --list
poetry show --tree
poetry install

激活环境是

1
source .venv/bin/activate

在IDE是添加已有的环境,而不是新建环境
Existing

然后再执行一次 poetry install, 依赖就出来了