使用 poetry 虚拟环境

1. 修改默认缓存路径

poetry config cache-dir D:/pypoetry_cache

2. 确认修改

poetry config --list

3. 创建一个虚拟环境

poetry env use python

4. 安装依赖

poetry install

完结!

猜你喜欢

转载自blog.csdn.net/engchina/article/details/135033595