suds install error: no module named client
According to this page, you should try running sudo pip-3.2 install suds-jurko
. It looks like suds
may not have been updated to work with 3.2 whereas suds-jurko
has been. Hope this helps!
EDIT:
From the suds-jurko
PyPI page:
Lightweight SOAP client (Jurko's fork).
Based on the original 'suds' project by Jeff Ortel (jortel at redhat dot com) hosted at 'https://fedorahosted.org/suds'.
'Suds' is a lightweight SOAP-based web service client for Python licensed under LGPL (see the LICENSE.txt file included in the distribution).
This is hopefully just a temporary fork of the original suds Python library project created because the original project development seems to have stalled. Should be reintegrated back into the original project if it ever gets revived again.
Locate client.py and add its path in PYTHONPATH. This will solve your problem.
In Windows Python 3.5 it was in Python35\Lib\http. PYTHONPATH=E:\apps\Python35\Lib;E:\apps\Python35\Lib\http;
In python 3.7.7, you can use
pip install suds-py3
to install suds py3 package. If your code not work as expected, you can delete the suds directory in
python3.7/site-packages/
and rerun
pip install suds-py3
I am facing the similar sort of problem. I've installed suds-jurko0.6, but when I am importing suds (import suds), and doing dir(suds) in the python3.3 shell, the output is the following:
['BuildError',
'BytesIO',
'MethodNotFound',
'PortNotFound',
'Repr',
'ServiceNotFound',
'SoapHeadersNotPermitted',
'TypeNotFound',
'UnicodeMixin',
'WebFault',
'__build__',
'__builtins__',
'__cached__',
'__doc__',
'__file__',
'__initializing__',
'__loader__',
'__name__',
'__package__',
'__path__',
'__version__',
'byte_str',
'byte_str_class',
'null',
'objid',
'sys',
'tostr',
'version']
That is, python is not importing suds modules. My hackish solutions so far has been doing sys.path.append(suds.path[0]). I am not entirely happy with it, though. A more rubbost solution should be related to the ini.py file at the top of the suds package.