python环境在安装源文件时使用默认安装很慢,使用国内清华源速度比较快,地址如下:
https://pypi.tuna.tsinghua.edu.cn/simple
临时使用
可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple
例如:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple gevent,这样就会从清华这边的镜像去安装gevent库。
python环境在安装源文件时使用默认安装很慢,使用国内清华源速度比较快,地址如下:
https://pypi.tuna.tsinghua.edu.cn/simple
临时使用
可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple
例如:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple gevent,这样就会从清华这边的镜像去安装gevent库。