Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-rnhk49o3/opencv-python/
How to fix the
Make sure the version of your
setuptools is sufficient for
sudo python3 -m pip install -U pip sudo python3 -m pip install -U setuptools
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.