Command "python setup.py egg_info" failed with error code 1 code example
Example 1: Command "python setup.py egg_info" failed with error code 1
$ pip3 install --upgrade setuptools
$ pip3 install --upgrade pip
Example 2: 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