When we are using python pip to install some packages, we may get this error: Command “python setup.py egg_info” failed with error code 1. In this tutorial, we will introduce how to fix this problem.
For example, we try to install asteroid using pip.
pip install asteroid
Then you will find pesq package can not be installed.
You will find an error like below:
How to fix this python setup.py egg_info error?
We can run code below to fix this error:
pip install --upgrade setuptools
Then we continue to install asteroid, we will find this error is fixed.