找到你要的答案

Q:python soaplib ImportError: No module named core.service

Q:Python soaplib输入错误:没有模块命名core.service

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?

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

我如何解决这个问题?

answer1: 回答1:

you need to install following version

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

您需要安装以下版本

sudo pip install soaplib==2.0.0-beta2
sudo pip install suds==0.4
answer2: 回答2:

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

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

python  python-2.7  soaplib