提示import CV2 不行,ImportError: libSM.so.6: cannot open shared object file: No such file

 

解决Ubuntu安装opencv报ImportError错误,ImportError: libSM.so.6: cannot open shared object file: No such file

 

解决方案:

 

sudo apt-get install libsm6(或sudo apt-get install libsm-dev)

 

sudo apt-get install libxrender1

 

sudo apt-get install libxext-dev(如果报找不到下载地址,请先执行:apt-get update)

相关文章:

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