python setup.py egg_info Check code example
Example: Command "python setup.py egg_info" failed with error code 1
$ pip3 install --upgrade setuptools
$ pip3 install --upgrade pip
$ pip3 install --upgrade setuptools
$ pip3 install --upgrade pip