Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-rnhk49o3/opencv-python/
How to fix the pip9.exceptions.InstallationError
Make sure the version of your pip
and setuptools
is sufficient for manylinux2014 wheels
.
sudo python3 -m pip install -U pip
sudo python3 -m pip install -U setuptools
Explanation
For me, python setup.py egg_info
probably failed because of a recent change in python wheels, as manylinux1 wheels
were replaced by manylinux2014 wheels
according to open-cv faq.