Python_pip install opencv-python太慢的问题

发布时间 2023-05-27 19:03:41作者: 翻滚的小强

https://blog.csdn.net/morecccc/article/details/126716080

参照如上地址

 

python安装cv2模块 解决安装慢的问题

我在这个路径下面

C:\Users\renyc\AppData\Roaming

新建了pip文件夹

 

 

再次新建pip.ini配置文件

 

内容如下:

[global]
timeout = 6000
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
trusted-host = pypi.tuna.tsinghua.edu.cn

 

之后,再次安装时报错