0 votes
1 view
in Python by (47.8k points)

I know that I could pip install opencv-python which installs opencv3, but is there a separate command or name for OpenCV specific version such as 2.4.9?

If not, how can I specify which version to install?

Thanks.

1 Answer

0 votes
by (107k points)

To install openCV2 you can do via pip you can specify the package version to install using the following:

pip install opencv-python==2.4.9

However, that package does not seem to be available on PyPI.

A little trick for checking available versions:

pip install opencv-python==

Which returns:

Could not find a version that satisfies the requirement opencv-python== 

(from versions: 3.1.0.0, 3.1.0.1, 3.1.0.2, 3.1 .0.3, 3.1.0.5, 3.2.0.6, 3.2.0.7) No matching distribution found for opencv-python==

To know more about this you can have a look at the following video tutorial:-

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Oct 10, 2019 in Python by Sammy (47.8k points)
0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...