opencv ImportError: libSM.so.6: cannot open shared object file: No such file or directory
這個(gè)問題,網(wǎng)上的解決方案大多數(shù)都是apt-get安裝libSM,但是由于我這里不方便使用包安裝,所以發(fā)現(xiàn)可以使用pip install opencv-python-headless 安裝無需圖形依賴庫的opencv。
這個(gè)問題,網(wǎng)上的解決方案大多數(shù)都是apt-get安裝libSM,但是由于我這里不方便使用包安裝,所以發(fā)現(xiàn)可以使用pip install opencv-python-headless 安裝無需圖形依賴庫的opencv。