当前位置 : 主页 > 编程语言 > python >

Linux下OpenCV出现错误:ASSERT false in file qasciikey.cpp, line 501

来源:互联网 收集:自由互联 发布时间:2022-09-02
原文链接 Linux下OpenCV,出现错误: ASSERT false in file qasciikey.cpp, line 501 可能是OpenCV的版本有问题,需要重新安装一下: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-pythonpip install -i h

原文链接

Linux下OpenCV,出现错误:

ASSERT false in file qasciikey.cpp, line 501

可能是OpenCV的版本有问题,需要重新安装一下:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python pip install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-contrib-python

如果出现提示:

Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/anaconda3/lib/python3.7/site-packages/opencv_contrib_python-4.1.0.25.dist-info'Consider using the --user option or check the permissions.

表示需要使用--user:

pip install --user -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-contrib-python

  

学习更多编程知识,请关注我的公众号:

代码的路

Linux下OpenCV出现错误:ASSERT false in file qasciikey.cpp, line 501

网友评论