I've been getting this error consistently with random packages in my new installation. At first I thought it was just a problem with the OS, so I setup a virtualenv, yet even now I am still getting the same error. I've tried every solution online I could find relating to this error, from reinstalling pip, setup tools, and so on. The error occurs intermittently when I use pip install. Some packages install, others don't.
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-oyotjp0i/beautifulsoup/