I had this error earlier and the highest rated answer gave me an error trying to download the ez_setup.py
file. I found another source so you can run the command:
curl http://peak.telecommunity.com/dist/ez_setup.py | python
I found that I also had to use sudo
to get it working, so you may need to run:
sudo curl http://peak.telecommunity.com/dist/ez_setup.py | sudo python
I’ve also created another location that the script can be downloaded from: