0

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?

Saeed Ghareh Daghi
  • 1,164
  • 1
  • 13
  • 21

2 Answers2

1

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

Saeed Ghareh Daghi
  • 1,164
  • 1
  • 13
  • 21
  • Bear in mind it looks like `soaplib` is not in active development. The new name is [spyne](https://pypi.python.org/pypi/spyne). The version you have installed is a beta and it wouldn't be a good idea to use it in a production environment. – Paul Rooney May 02 '15 at 18:41
0

you need to install following version

sudo pip install soaplib==2.0.0-beta2
sudo pip install suds==0.4
Nandha Kumar
  • 413
  • 8
  • 18
  • Why would you suggest using sudo? – moopet May 07 '15 at 12:44
  • its your wish,if you are in root no need to use sudo otherwise it will show permission denied error – Nandha Kumar May 07 '15 at 13:00
  • It probably won't. It depends how your system is set up and whether you want to install globally, locally or to a virtual environment. I would suggest making examples default to not requiring root. – moopet May 07 '15 at 13:15