Trying to install suds with pip-3.2 and it fails with the error
sudo pip-3.2 install suds
Downloading/unpacking suds
Running setup.py egg_info for package suds
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip-build/suds/setup.py", line 20, in <module>
import suds
File "suds/__init__.py", line 154, in <module>
import client
ImportError: No module named client
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip-build/suds/setup.py", line 20, in <module>
import suds
File "suds/__init__.py", line 154, in <module>
import client
ImportError: No module named client
Which module is this named client and how do I install it if need be?
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:
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.
I would recommend installing the latest jurko developer's cut, which should handle an issue with recursion depth loading for big WSDL's (I ran into this with the NetSuite WSDL) This version should fix the issue.
Here is the Bitbucket Project page:
https://bitbucket.org/jurko/suds/wiki/Home
Basically there is a problem with the compatbility of suds library and python version . Your python version should be 2.7.14.
I downgraded my python version 3.6 to 2.7.14 and it worked for me.
Please let me know , if there are any further errors.
According to this page, you should try running
sudo pip-3.2 install suds-jurko
. It looks likesuds
may not have been updated to work with 3.2 whereassuds-jurko
has been. Hope this helps!EDIT:
From the
suds-jurko
PyPI page: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;
Often times errors like this result from an error to
source .venv/bin/activate
, where.venv
is the location of your virtualenv.