ImportError: libQtTest.so.4: cannot open shared

错误:

import cv2
  File "/usr/local/lib/python3.5/dist-packages/cv2/__init__.py", line 3, in <module>
    from .cv2 import *
ImportError: libQtTest.so.4: cannot open shared object file: No such file or directory

解决方法:

sudo apt install libqt4-test

 

 

 

 

 

 

原文:https://www.cnblogs.com/zheh/p/9761532.html

posted @ 2019-02-26 10:50  小呆丶  阅读(477)  评论(0编辑  收藏  举报