Wednesday, March 21, 2012

easy_install for PortablePython3 behind a proxy

Do you love Python? Do you have Portable Python(v3) installed on a flash drive somewhere? Do you want easy_install for your Python 3, but you're behind a proxy or a firewall that won't let the good times roll? Well, turns out it's fairly easy to get around that.

 First, download the Distribute setup.py installer. If simply running your \App\python distribute_setup.py script doesn't work, then all you have to do is download the tar.gz file, put it in the same directory as your distribute_setup.py and run it again. You might need to install the MinGW32 compiler, too, and put that on your path. 


 Once you have these pieces in place then it's usually really easy to install other packages from source, if you're unable to hit the cheeseshop using easy_install.


If this helps you, please leave a comment below!