Install OpenCV 3 on Ubuntu 17.10

8,217

For Ubuntu 17.10 and above:

python3-opencv package is available in Official Ubuntu Repositories.

So you can install this package with this command easily (without any need to pip or any other ways):

sudo apt install python3-opencv

Additional information :

As this package is available in universe repositories of Ubuntu, so this repositories should be active on your machine (That's active by default) :

sudo add-apt-repository universe
sudo apt update    
Share:
8,217

Related videos on Youtube

Ali Razmdideh
Author by

Ali Razmdideh

Updated on September 18, 2022

Comments

  • Ali Razmdideh
    Ali Razmdideh over 1 year

    I'm using Ubuntu 17.10 and I want to install OpenCV 3 on it.

    How can I install OpenCV for Python 3 on Ubuntu 17.10?

  • TimSC
    TimSC over 6 years
    Ubuntu 17.10 repository seems to have Opencv 3.1, which is quite old. My OpenCV 3.3 PPA is here: launchpad.net/~timsc/+archive/ubuntu/opencv-3.3