liming
liming

Reputation: 242

Which version of python and opencv are matched?

I want to use openCV and python for my work. But unable to find matched compatible versions of python and openCV. I tried using python version 3.7, 3.6, it did nor worked.

I want to know more about python vs openCV version compatibility. Please help me out.

Upvotes: 2

Views: 16085

Answers (2)

Matteo Moreschini
Matteo Moreschini

Reputation: 99

You can install the latest version of python (check here https://www.python.org/downloads/), along with pip3 (check here https://pip.pypa.io/en/stable/installing/)

Then for a specific version of OpenCV, for example the 4.1.2.30, you can run :

pip3 install opencv-python==4.1.2.30

Hope this helps.

Upvotes: 1

M Hamza Razzaq
M Hamza Razzaq

Reputation: 472

opencv supports python 3.7

Install python 3.7 with anaconda package and use this command to install opencv.

conda install -c menpo opencv

Upvotes: 1

Related Questions