Skip to content

uv的python版本管理 ​

安装 ​

shell
pip install uv

创建一个python为3.10的环境 ​

比conda省事多了

shell
uv venv venv -p 3.10

执行test.py 脚本 ​

shell
uv run test.py

在当前环境安装依赖包 ​

shell
uv pip install openai