I was trying to install auto-py-to-exe. And I'm getting the error:
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output
I used both pip install auto-py-to-exe
and python -m pip install auto-py-exe