ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: ‘E:\webui\sd-webui-aki-v4.2\python\Lib\site-packages\cv2\cv2.pyd’ Consider using the --user option or check the permissions.

问题

安装报错:

E:\webui\sd-webui-aki-v4.2>pip install insightface-0.7.3-cp310-cp310-win_amd64.whl

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
... 此处省略一万字 ...
ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'E:\\webui\\sd-webui-aki-v4.2\\python\\Lib\\site-packages\\cv2\\cv2.pyd'
Consider using the `--user` option or check the permissions.

解决方案

解决方案很简单,就是使用错误后面给出的 Consider using the –user option,执行命令时加上 –user 就可以了

E:\webui\sd-webui-aki-v4.2>pip install insightface-0.7.3-cp310-cp310-win_amd64.whl --user

公众号: 无限递归

alt 搜索公众号:无限递归

Copyright © 2017 - 2025 boboidea.com All Rights Reserved 波波创意软件工作室 版权所有 【转载请注明出处】