4
votes

I've installed Python 2.7.1, setuptools and suds 0.4.

When running my script, I'm having the following error:

Traceback (most recent call last): File "C:\Python27\test.py", line 5, in from suds.client import Client # suds soap client ImportError: No module named suds.client

It looks like Python can't find the suds library. But I can't understand why ...

Any help would be greatly appreciate.

Also, it looks like suds isn't maintained. What are you using to call your web services using Python?

2
Probably it has nothing to do with your problem but consider using pip instead of easy_install. Here are some arguments: stackoverflow.com/questions/3220404/… - Pawel Markowski

2 Answers

15
votes

Sounds like suds is not actually installed.

Since you have setuptools, try:

easy_install https://fedorahosted.org/releases/s/u/suds/python-suds-0.4.tar.gz
0
votes

For ease of installation and bug fixing, i put the suds folder from suds-jurko (and ntlm folder from python-ntlm) next to the main.py file of my new maintenance tool. That way a minimum of specialist knowledge is required to install it:

  1. Unzip Tool.zip to C:\
  2. Run C:\Tool\Tool.bat

I could probably put the required Python interpreter in there, as well. That's how many Python "compilers" work.