In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article shows you how to install suds on python3.x. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Suds download:
Https://fedorahosted.org/releases/s/u/suds/python-suds-0.4.1.tar.gz
Installation error, did not find a relevant solution online, tried version 0.4.0 is still the case.
Bill131:~/python-suds-0.4.1 # 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
Later, I came across suds-jurko on the pypi website. The introduction seems to be a continuation and improvement of the original version. The download address is:
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
Install successfully again (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
Later, the installation failed on python3.2.3 with the error as follows:
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
The above is how to install suds on python3.x. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 282
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.