"python setup.py egg_info" failed with error code 1 in /tmp/pip-build-xqds_n8q/opencv-python/ code example
Example: failed with error code 1 in /tmp/pip-build-ntwLiA/opencv-python/
sudo python3 -m pip install -U pip
sudo python3 -m pip install -U setuptools