Tuesday, July 10, 2012

Installing setuptools for Python2.7 on Windows

Assuming you have python 2.7 installed in C:\Python27
  1. Make sure your path includes C:\Python27\; and C:\Python27\Scripts\;
  2. Download setuptools-0.6c11.tar.gz and setuptools-0.6c11-py2.7.egg from here
  3. Extract the tar using 7zip into a folder outside C:\Python27 and copy the setuptools-0.6c11-py2.7.egg file into the extracted folder
  4. Open command prompt, get into the extracted folder and run the command: python ez_setup.py setuptool-0.6c11-py2.7.egg
You can now install modules like suds using the command
python setup.py install


Thanks to the guys at 

http://www.jansipke.nl/python-soap-client-with-suds/

No comments:

Post a Comment