在清华镜像源安装第三方安装包的方法

安装方式:pip install 模块名字 -i 镜像链接

例如:pip install  numpy  -i https://pypi.tuna.tsinghua.edu.cn/simple

(上面的安装方式在windows窗口下,在pycharm终端都可以用)

镜像链接有以下选择:

清华镜像:https://pypi.tuna.tsinghua.edu.cn/simple

豆瓣镜像:http://pypi.douban.com/simple

阿里云镜像:http://mirrors.aliyun.com/pypi/simple

猜你喜欢

转载自blog.csdn.net/baobao135/article/details/122611814