简体   繁体   中英

python soaplib ImportError: No module named 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?

我解决了这样的问题,例如从此地址https://pypi.python.org/pypi/soaplib/2.0.0-beta2下载tar.gz soaplib文件并使用此命令sudo python setup.py install

you need to install following version

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM