Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to install OpenCV 2.4.7 for Python , Ubuntu

I am going to use a code shared on GitHub on facial feature extraction. This code has OpenCV 2.4.7 and Python 2.7 dependencies. This code uses cv2.Boost() which is not found in OpenCV 3.4. I tried OpenCV 3.4, but it didn't work. Also, pypi only support OpenCV 3x. I couldn't install OpenCV 2.4.7 by pip install.

Could you please let me know how I can install OpenCV 2.4.7 for Python? I prefer to install it in a Conda virtual environment.

O.S: Ubuntu 16; I can use Windows 10 too.

How to install OpenCV 2.4.7 for Python , Ubuntu

I am going to use a code shared on GitHub on facial feature extraction. This code has OpenCV 2.4.7 and Python 2.7 dependencies. This code uses cv2.Boost() which is not found in OpenCV 3.4. I tried OpenCV 3.4, but it didn't work. Also, pypi only support OpenCV 3x. I couldn't install OpenCV 2.4.7 by pip install.

When I try following command.

pip install opencv-python==2.4.7

I get the error:

Could not find a version that satisfies the requirement opencv-python==2.4.7 (from versions: 3.1.0.0, 3.1.0.1, 3.1.0.2, 3.1.0.3, 3.1.0.4, 3.1.0.5, 3.2.0.6, 3.2.0.7, 3.2.0.8, 3.3.0.9, 3.3.0.10, 3.3.1.11, 3.4.0.12, 3.4.0.14, 3.4.1.15, 3.4.2.16, 3.4.2.17, 3.4.3.18)

No matching distribution found for opencv-python==2.4.7

Could you please let me know how I can install OpenCV 2.4.7 for Python? I prefer to install it in a Conda virtual environment.

O.S: Ubuntu 16; 16.

I can use Windows 10 too.

How to install OpenCV 2.4.7 for Python , Ubuntu

I am going to use a code shared on GitHub on facial feature extraction. This code has OpenCV 2.4.7 and Python 2.7 dependencies. This code uses cv2.Boost() which is not found in OpenCV 3.4. I tried OpenCV 3.4, but it didn't work. Also, pypi only support OpenCV 3x. I couldn't install OpenCV 2.4.7 by pip install.

When I try following command.

pip install opencv-python==2.4.7

I get the error:

Could not find a version that satisfies the requirement opencv-python==2.4.7 (from versions: 3.1.0.0, 3.1.0.1, 3.1.0.2, 3.1.0.3, 3.1.0.4, 3.1.0.5, 3.2.0.6, 3.2.0.7, 3.2.0.8, 3.3.0.9, 3.3.0.10, 3.3.1.11, 3.4.0.12, 3.4.0.14, 3.4.1.15, 3.4.2.16, 3.4.2.17, 3.4.3.18)

3.4.3.18). No matching distribution found for opencv-python==2.4.7

opencv-python==2.4.7

Could you please let me know how I can install OpenCV 2.4.7 for Python? I prefer to install it in a Conda virtual environment.

O.S: Ubuntu 16.

I can use Windows 10 too.