本文介绍了suds安装错误:没有名为客户端的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试使用pip-3.2安装suds,但由于错误而失败

Trying to install suds with pip-3.2 and it fails with the error

sudo pip-3.2 install suds
Downloading/unpacking suds
  Running setup.py egg_info for package suds
  Traceback (most recent call last):
  File "<string>", line 16, in <module>
  File "/tmp/pip-build/suds/setup.py", line 20, in <module>
    import suds
  File "suds/__init__.py", line 154, in <module>
    import client
ImportError: No module named client
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "<string>", line 16, in <module>

File "/tmp/pip-build/suds/setup.py", line 20, in <module>

import suds

File "suds/__init__.py", line 154, in <module>

import client

ImportError: No module named client

该模块是哪个模块的客户端,如果需要的话该如何安装?

Which module is this named client and how do I install it if need be?

推荐答案

根据页,应该尝试运行sudo pip-3.2 install suds-jurko.看来suds可能尚未更新为与3.2一起使用,而suds-jurko已更新.希望这会有所帮助!

According to this page, you should try running sudo pip-3.2 install suds-jurko. It looks like suds may not have been updated to work with 3.2 whereas suds-jurko has been. Hope this helps!

suds-jurko PyPI页面:

'Suds'是用于Python许可的轻量级基于SOAP的Web服务客户端 在LGPL下(请参阅发行版中包含的LICENSE.txt文件).

'Suds' is a lightweight SOAP-based web service client for Python licensed under LGPL (see the LICENSE.txt file included in the distribution).

希望这只是原始suds Python库的临时分支 创建该项目是因为原始项目的开发似乎已经停滞了. 如果恢复原样应重新整合到原始项目中 再次.

This is hopefully just a temporary fork of the original suds Python library project created because the original project development seems to have stalled. Should be reintegrated back into the original project if it ever gets revived again.

这篇关于suds安装错误:没有名为客户端的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-26 03:27