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

相关文章:

  • 2021-11-06
  • 2021-11-27
  • 2022-01-14
  • 2021-08-04
  • 2021-07-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-03
  • 2021-06-27
  • 2022-12-23
  • 2021-06-01
  • 2021-04-03
相关资源
相似解决方案