且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

导入错误:libSM.so.6:无法打开共享对象文件:没有这样的文件或目录

更新时间:2023-02-22 20:58:38

通过将其作为脚本的前两行来解决此问题:

This fixed the problem by having it as the first two lines of the script:

!pip install opencv-python
!apt update && apt install -y libsm6 libxext6
!apt-get install -y libxrender-dev