pip - Command "python setup.py egg_info" failed with error code

By xngo on November 5, 2020

Issue

I was trying to install tensorflow and got the following error messages

pip install tensorflow==1.14
Command "python setup.py egg_info" failed with error code

Solution

Apparently, the error message is because my setuptools was not up-to-date. So, I updated it with the following commands.

pip install --upgrade setuptools

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.