ImportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory解决方法

1.apt-get update 

2.apt-get -y upgrade 

3.pip install python-opencv

4.apt-get install python-tk

5.apt-get install python-opencv -y --allow-unauthenticated

或者使用apt-file,流程如下:

apt-get update

apt-get install apt-file

apt-file update

apt-file search libgthread-2.0.so.0

 

若更新没权限,使用如下:

chmod 777 /tmp

apt-get update --allow-unauthenticated
————————————————
版权声明:本文为CSDN博主「chenyu19880302」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/liulianfanjianshi/article/details/86498126

posted @ 2020-04-20 22:09  飞行的轻羽  阅读(6258)  评论(0编辑  收藏  举报