Reputation: 3907
I have a virtualenv
created with virtualenvwrapper
.
However, I'm on python 2.7
Whenever I try to install the opencv-python
by pip
, as sudo
or not, I receive this message:
pip install opencv-python
Downloading/unpacking opencv-python
Could not find any downloads that satisfy the requirement opencv-python
Cleaning up...
No distributions at all found for opencv-python
Storing debug log for failure in /home/kristian/.pip/pip.log
Any ideas on why this us happening?
Upvotes: 0
Views: 392
Reputation: 2321
Your pip is most likely too old since opencv-python packages are distributed as manylinux1 wheels (https://github.com/pypa/manylinux). You need pip version 8.1 or later to install manylinux1 binary packages.
To upgrade your pip globally:
sudo -H pip install --upgrade pip
Inside virtualenv this should be enough:
pip install --upgrade pip
Upvotes: 1