python setup.py egg_info check the logs for full command output. windows 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