OSX Brew Python "Could not find a version that meets the pyopencv requirement"

I am trying to install pyopencv. I installed Python and OpenCV via Brew. A quick one which python/pipshows that I am using the default version of Python installed through Brew. I already installed numpy through pip. However, when I try to start pip install pyopencv, I return:

Downloading/unpacking pyopencv
  Could not find a version that satisfies the requirement pyopencv (from versions: 2.0.wr1.0.1-demo, 2.0.wr1.0.1, 2.0.wr1.1.0, 2.1.0.wr1.0.0, 2.1.0.wr1.0.1, 2.1.0.wr1.0.2, 2.1.0.wr1.1.0, 2.1.0.wr1.2.0, 2.1.0.wr1.2.0-demo, 2.1.0.wr1.2.0)
Cleaning up...
No distributions matching the version for pyopencv
Storing complete log in /Users/golmschenk/.pip/pip.log

The semi-dependent question had the same error, but under different circumstances. The problem here is with the virtual environment, and they were using a pre-installed version of Python, not a version of Brew.

Any suggestions on how I can fix this? Thank you very much!

Update:

According to this question / solution , when an error occurs Could not find a version that satisfies the requirement, because

pip , PEP426, . PEP426 , .

pip install --pre . ( pyopencv easy_install) : ImportError: cannot import name Library.

2:

/. ImportError: cannot import name Library setuptools extension.py. pyopencv setuptools.extension.Library, setuptools.Library. . , , . - ? !

3:

OpenCV Python Brew, OpenCV Python cv2 ( ). . , , pyopencv -, .

+4
1

, , , :)

import cv2

, , ++ (cv2 python).

+1

All Articles