suds如何在python3.x上的安装-创新互联

本篇文章为大家展示了suds如何在python3.x上的安装,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。

创新互联秉承实现全网价值营销的理念,以专业定制企业官网,成都网站建设、网站设计,微信平台小程序开发,网页设计制作,移动网站建设全网整合营销推广帮助传统企业实现“互联网+”转型升级专业定制企业官网,公司注重人才、技术和管理,汇聚了一批优秀的互联网技术人才,对客户都以感恩的心态奉献自己的专业和所长。

suds下载:
/tupian/20230522/Fedorahosted-retirement # python3 setup.py install
Traceback (most recent call last):
  File "setup.py", line 20, in
    import suds
  File "/root/python-suds-0.4.1/suds/__init__.py", line 154, in
    import client
ImportError: No module named client

后来无意中在pypi网站看到suds-jurko,看介绍好像是对原版进行延续改进,下载地址为:
suds-jurko-0.4.1.jurko.4.zip
http://pypi.python.org/packages/source/s/suds-jurko/suds-jurko-0.4.1.jurko.4.zip#md5=769689edca81c34c0421a4145b08c264
再次安装成功(python3.3):
C:\suds-jurko-0.4.1.jurko.3>python setup.py install
running install
D:\Program Files\Python32\lib\site-packages\distribute-0.6.26-py3.2.egg\setuptools\command\einstall.py:290: UserWarning: Unbuilt egg for suds-jurko [unknown version] (c:\suds-jurko-0.4urko.3)
  self.local_index = Environment(self.shadow_path+sys.path)
running bdist_egg
running egg_info
writing suds_jurko.egg-info\PKG-INFO
writing top-level names to suds_jurko.egg-info\top_level.txt
writing dependency_links to suds_jurko.egg-info\dependency_links.txt
reading manifest file 'suds_jurko.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'suds_jurko.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build
........................
Installed d:\program files\python32\lib\site-packages\suds_jurko-0.4.1.jurko.3-py3.2.egg
Processing dependencies for suds-jurko==0.4.1.jurko.3
Finished processing dependencies for suds-jurko==0.4.1.jurko.3

后在python3.2.3上安装失败,报错如下:
bill131:~/suds-jurko-0.4.1.jurko.3 # python3  setup.py install
running install
/usr/local/lib/python3.2/site-packages/distribute-0.6.26-py3.2.egg/setuptools/command/easy_install.py:290: UserWarning: Unbuilt egg for suds-jurko [unknown version] (/root/suds-jurko-0.4.1.jurko.3)
  self.local_index = Environment(self.shadow_path+sys.path)
running bdist_egg
running egg_info
writing suds_jurko.egg-info/PKG-INFO
Traceback (most recent call last):
  File "setup.py", line 154, in
    **extra
  File "/usr/local/lib/python3.2/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/local/lib/python3.2/distutils/dist.py", line 917, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python3.2/distutils/dist.py", line 936, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.26-py3.2.egg/setuptools/command/install.py", line 73, in run
    self.do_egg_install()
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.26-py3.2.egg/setuptools/command/install.py", line 93, in do_egg_install
    self.run_command('bdist_egg')
  File "/usr/local/lib/python3.2/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.2/distutils/dist.py", line 936, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.26-py3.2.egg/setuptools/command/bdist_egg.py", line 172, in run
    self.run_command("egg_info")
  File "/usr/local/lib/python3.2/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.2/distutils/dist.py", line 936, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.26-py3.2.egg/setuptools/command/egg_info.py", line 172, in run
    writer(self, ep.name, os.path.join(self.egg_info,ep.name))
  File "/usr/local/lib/python3.2/site-packages/distribute-0.6.26-py3.2.egg/setuptools/command/egg_info.py", line 384, in write_pkg_info
    metadata.write_pkg_info(cmd.egg_info)
  File "/usr/local/lib/python3.2/distutils/dist.py", line 1015, in write_pkg_info
    self.write_pkg_file(pkg_info)
  File "/usr/local/lib/python3.2/distutils/dist.py", line 1031, in write_pkg_file
    file.write('Author: %s\n' % self.get_contact() )
UnicodeEncodeError: 'gbk' codec can't encode character '\u0107' in position 24: illegal multibyte sequence

上述内容就是suds如何在python3.x上的安装,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注创新互联行业资讯频道。


文章名称:suds如何在python3.x上的安装-创新互联
网页网址:http://bzwzjz.com/article/dpopos.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 网站建设方案 重庆企业网站建设 成都网站设计 专业网站建设 手机网站制作 网站建设改版 手机网站制作 成都网站建设 成都网站建设 手机网站制作 成都营销网站制作 成都定制网站建设 成都定制网站建设 成都网站制作 成都网站建设 盐亭网站设计 自适应网站建设 泸州网站建设 网站设计 成都网站设计 成都网站建设公司 营销网站建设