The best way to fix this is to compile easy_install yourself. Download the source code first and then compile it with python.
1 - Go here .

2 - Then extract the file using 7-zip or any software that can extract the tar file. This is a tar.gz file, so after one extraction it will provide you with a tar file and then it will give you the actual directory and files for the configuration tools
3 - Change to the directory where you saved the extraction contents (using the command line). For example, if you saved the directory on your desktop, you cd Desktop , and then you go
cd dir_where_easy_install_is .
4 - Then run this python setup.py install command
This will install easy_install for you.
5 - Go back to your command prompt again and then just type easy_install pip and this will install pip.
Then go ahead and test it by installing django, just go to your command line and type pip install django . After downloading and installing, enter pip list and see if there is django there. If so, then the protocol completed successfully.
source share