Python: No Module named suds

Sammee Sharma picture Sammee Sharma · May 27, 2015 · Viewed 9.1k times · Source

I have python 2.7.9 installed. When I run my script, I get the following error:

from suds.client import client  
ImportError: No module named suds.client

So I downloaded the suds library from:

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

and extracted it and installed it using command (python setup.py install).
The installed suds file is placed in Directory C:\Python27\Lib\site-packages as suds-0.4-py2.7.egg. But when i again run my script, I found the same error.

Am I missing something ?

Answer

Sammee Sharma picture Sammee Sharma · Jun 5, 2015

Now I got, Actually I needed to extract this

suds-0.4-py2.7.egg file.

After extracting , it will create a suds folder in the directory 'C:\Python27\Lib\site-packages
It worked for me .