pip配置镜像源
文章目录
常用国内源
https://pypi.tuna.tsinghua.edu.cn/simple
https://mirrors.aliyun.com/pypi/simple
永久修改pip镜像源
- 命令
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple 或者改配置文件
~/.pip/pip.conf或者~/.config/.pip/pip.conf[global] [install]

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论