Python UV虚拟环境管理器换源 发布于 2026年7月16日| 分类于 Python| 标签 python、UV、换源、虚拟环境| 0 方法 4:全局设置(你的 Ubuntu 实验服务器推荐) 创建: mkdir -p ~/.config/uv nano ~/.config/uv/uv.toml 内容: [[index]] name = "tuna" url = "https://pypi.tuna.tsinghua.edu.cn/simple/" default = true 以后所有项目: uv sync 都会使用清华源。 作者: 高志远 高志远,24岁,男生 查看高志远的所有文章