本文共 316 字,大约阅读时间需要 1 分钟。
pip install opencv-contrib-python
输入命令
Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'C:\\ProgramData\\Anaconda3\\Lib\\site-packages\\cv2\\cv2.cp37-win_amd64.pyd'
Consider using the `--user` option or check the permissions.
出现了这个错误,后来在命令中按照提示
pip install --user opencv-contrib-python
解决!
转载地址:http://nbed.baihongyu.com/