Linux下OpenCV,出現(xiàn)錯誤:
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
如果出現(xiàn)提示:
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
+關注
關注
88文章
11576瀏覽量
216670 -
OpenCV
+關注
關注
33文章
650瀏覽量
43980
發(fā)布評論請先 登錄
評論