searchusermenu
  • 发布文章
  • 消息中心
点赞
收藏
评论
分享
原创

Linux下OpenCV出现错误ASSERT false in file qasciikey.cpp

2023-02-22 01:51:37
8
0

 

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

 

 

0条评论
0 / 1000
代码的路
100文章数
1粉丝数
代码的路
100 文章 | 1 粉丝
代码的路
100文章数
1粉丝数
代码的路
100 文章 | 1 粉丝
原创

Linux下OpenCV出现错误ASSERT false in file qasciikey.cpp

2023-02-22 01:51:37
8
0

 

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

 

 

文章来自个人专栏
人工智能
58 文章 | 1 订阅
0条评论
0 / 1000
请输入你的评论
2
2