“ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问” 问题解决办法

在安装pip install opencv-contrib-python报错。

“ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问” 问题解决办法_第1张图片解决办法:

直接在安装语句后面加--user即可,即:

pip install opencv-contrib-python --user

“ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问” 问题解决办法_第2张图片

你可能感兴趣的:(python)