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