Python - suds - no module
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 开发者_如何学Cfrom 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?
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
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:
- Unzip
Tool.zip
toC:\
- Run
C:\Tool\Tool.bat
I could probably put the required Python interpreter in there, as well. That's how many Python "compilers" work.
精彩评论