No matter which package I\'m trying to install, I get this error:
error: invalid command \'egg_info\' ---------------------------------------- Cleaning up.
For me reinstalling and then upgrading the pip worked.
Reinstall pip by using below command or following link How do I install pip on macOS or OS X?
curl https://bootstrap.pypa.io/get-pip.py -o - | python
Upgrade pip after it's installed
pip install -U pip