python soaplib ImportError: No module named core.service

3.5k views Asked by At

I'm developing python application and using soaplib for use in .net but when I run the code , I ran into this error

Traceback (most recent call last):
  File "soap.py", line 2, in <module>
    from soaplib.core.service import rpc, DefinitionBase
ImportError: No module named core.serviceImportError: No module named core.service

How do I solved this?

2

There are 2 answers

1
Saeed Ghareh Daghi On BEST ANSWER

I solved my problem like this download tar.gz soaplib file from this address https://pypi.python.org/pypi/soaplib/2.0.0-beta2 and install it with this command sudo python setup.py install

3
Nandha Kumar On

you need to install following version

sudo pip install soaplib==2.0.0-beta2
sudo pip install suds==0.4