当前位置:   article > 正文

pip install时候ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。

error: could not install packages due to an environmenterror: [winerror 5]

在anaconda中pip install 的时候报出如下错误:

ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'D:\\anaconda\\Lib\\site-packages\\cv2\\cv2.cp38-win_amd64.pyd'

Consider using the `--user` option or check the permissions.

解决办法:

在pip install 后面加上 --user + 需要安装的包名,添加--user选项赋予权限。

如pip install --user albumentations -i https://pypi.tuna.tsinghua.edu.cn/simple

欢迎关注公众号:

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/不正经/article/detail/177811
推荐阅读
相关标签
  

闽ICP备14008679号