Why cv2.so missing after opencv installed?

后端 未结 9 1290
你的背包
你的背包 2020-12-01 01:24

Today I installed opencv 2.4.4 to Ubuntu 12.10

But import cv2 not works.

root@-:~# python
Python 2.7.3 (default, Sep 26 2012, 21:53:58) 
[GCC 4.7.2]          


        
9条回答
  •  囚心锁ツ
    2020-12-01 02:11

    In my case it was a problem with cmake:

    sudo apt install software-properties-common
    sudo add-apt-repository ppa:george-edison55/cmake-3.x
    sudo apt update
    

    If cmake is not yet installed:

    sudo apt install cmake
    

    If cmake is already installed:

    sudo apt upgrade
    

    For more information, see this link.

提交回复
热议问题