gpt4 book ai didi

python - suds 包安装问题

转载 作者:太空宇宙 更新时间:2023-11-04 01:06:48 25 4
gpt4 key购买 nike

Trying below code to check suds working   
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> from suds.client import Client
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "suds.py", line 2, in <module>
from suds.client import Client
ImportError: No module named client

>>> exit()

当我尝试再次安装它时出现以下错误

sagarnig@sagarnig-HCL-Desktop:~$ sudo pip install suds已满足要求(使用 --upgrade 升级):/usr/local/lib/python2.7/dist-packages 中的泡沫正在清理...

使用-I之后

sagarnig@sagarnig-HCL-Desktop:~$ sudo pip install -I suds
[sudo] password for sagarnig:
Downloading/unpacking suds
Downloading suds-0.4.tar.gz (104kB): 104kB downloaded
Running setup.py (path:/tmp/pip_build_root/suds/setup.py) egg_info for package suds

Installing collected packages: suds
Running setup.py install for suds
/usr/bin/python -O /tmp/tmpmktuLL.py
removing /tmp/tmpmktuLL.py

Successfully installed suds
Cleaning up...
sagarnig@sagarnig-HCL-Desktop:~$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from suds.client import Client
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "suds.py", line 2, in <module>
from suds.client import Client
ImportError: No module named client

最佳答案

尝试

sudo pip install -I suds

根据 this answer .

关于python - suds 包安装问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29960838/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com