4

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?

Olivier
  • 130
  • 2
  • 3
  • 11

2 Answers2

15

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
Ashy
  • 1,893
  • 5
  • 20
  • 24
  • Yes, correct. Suds was not installed, I forgot to update this topic. To install studs (and I suppose other modules), you have to be outside the Python folder, otherwise it won't work ... Thanks Ashy for your response anyway. – Olivier Apr 15 '11 at 06:44
  • @Olivier if the Ashy's answer worked for you then you should accept the answer. :) – shashaDenovo Jul 13 '12 at 10:42
0

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.

Community
  • 1
  • 1
Cees Timmerman
  • 13,202
  • 8
  • 78
  • 106