2.3 Python更新源
2.3 python更新源
与apt类似,python的包安装与更新主要使用pip工具,推荐的pip更新源配置方式为,在用户目录下创建.pip文件夹,并创建pip.conf文件:
[global]
trusted-host = pypi.mirrors.ustc.edu.cn
index-url = https://pypi.mirrors.ustc.edu.cn/simple
与apt类似,python的包安装与更新主要使用pip工具,推荐的pip更新源配置方式为,在用户目录下创建.pip文件夹,并创建pip.conf文件:
[global]
trusted-host = pypi.mirrors.ustc.edu.cn
index-url = https://pypi.mirrors.ustc.edu.cn/simple