关于python安装第三方库速度慢解决方案(opencv为例)

守給你的承諾、 提交于 2021-02-02 08:51:29

安装时使用国内镜像链接

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

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

豆瓣(douban) http://pypi.douban.com/simple/

清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/

中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

使用指令指定源:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python

秒秒种成功安装

 

还有scarpy安装很烦 所以使用conda install scrapy也很快(必须安装anaconda)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!