Sunday, April 20, 2008

Quick tip on installing SOAPpy on Python 2.5

While you install as per the instruction given, you will run in the issue as you see below:



Now, do the following to resolve it.

1. Open the file Client.py and make "from __future__ imports" line to be the first import
2. Open Types.py, Server.py and GSIServer.py and do the same
3. Run - python setup.py build
4. Run - python setup.py install

Now you can start writing your SOAP server and clients.

Happy hacking !

3 comments:

James said...

Works like a charm - thanks for saving my morning!

Anonymous said...

Thanks for this. I thought my Python install was hosed, but after doing a quick Google search, I found out it wasn't just me.

Thanks for listing the files that need to be modified.

Martin said...

Thanks for the tip. Exactly what I needed!