pip 设置源-CSDN博客

网站介绍:临时使用:可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple例如:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple gevent,这样就会从清华这边的镜像去安装gevent库。pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy opencv-python lmdb tensorboardX.