6

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?

1 Answer 1

8

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    
1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .