Python配置pip国内镜像源
生活随笔
收集整理的這篇文章主要介紹了
Python配置pip国内镜像源
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
win
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple [install] trusted-host = pypi.tuna.tsinghua.edu.cnLinux
cd ~ mkdir .pip vim ~/.pip/pip.confpip.conf文件內(nèi)容如下:
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple [install] trusted-host = pypi.tuna.tsinghua.edu.cn總結(jié)
以上是生活随笔為你收集整理的Python配置pip国内镜像源的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Django 3.2.5博客开发教程:用
- 下一篇: Django 3.2.5博客开发教程:H