在virtualenv上安装PySimpleSoap时,一切似乎都正常,然后我会收到一条错误消息Failed building wheel for pysimplesoap
,最后会出现一条消息Successfully installed pysimplesoap-1.16
。
是可以忽略的错误,还是应该在开始使用PySimpleSoap之前解决这个问题?
在这种情况下,我并没有得到应该安装的包的消息。
如果必须解决这个问题,最好的办法是什么?
(currency-converter)johan@johan-pc:~/sdp/currency-converter$ pip install pysimplesoap
Collecting pysimplesoap
Downloading PySimpleSOAP-1.16.tar.gz
Building wheels for collected packages: pysimplesoap
Running setup.py bdist_wheel for pysimplesoap
Complete output from command /home/johan/sdp/currency-converter/bin/python3 -c "import setuptools;__file__='/tmp/pip-build-l0q8rh86/pysimplesoap/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpynogfhy_pip-wheel-:
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/pysimplesoap
copying pysimplesoap/plugins.py -> build/lib/pysimplesoap
copying pysimplesoap/simplexml.py -> build/lib/pysimplesoap
copying pysimplesoap/xmlsec.py -> build/lib/pysimplesoap
copying pysimplesoap/wsse.py -> build/lib/pysimplesoap
copying pysimplesoap/c14n.py -> build/lib/pysimplesoap
copying pysimplesoap/helpers.py -> build/lib/pysimplesoap
copying pysimplesoap/transport.py -> build/lib/pysimplesoap
copying pysimplesoap/server.py -> build/lib/pysimplesoap
copying pysimplesoap/__init__.py -> build/lib/pysimplesoap
copying pysimplesoap/client.py -> build/lib/pysimplesoap
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/pysimplesoap
copying build/lib/pysimplesoap/plugins.py -> build/bdist.linux-x86_64/wheel/pysimplesoap
copying build/lib/pysimplesoap/simplexml.py -> build/bdist.linux-x86_64/wheel/pysimplesoap
copying build/lib/pysimplesoap/xmlsec.py -> build/bdist.linux-x86_64/wheel/pysimplesoap
copying build/lib/pysimplesoap/wsse.py -> build/bdist.linux-x86_64/wheel/pysimplesoap
copying build/lib/pysimplesoap/c14n.py -> build/bdist.linux-x86_64/wheel/pysimplesoap
copying build/lib/pysimplesoap/helpers.py -> build/bdist.linux-x86_64/wheel/pysimplesoap
copying build/lib/pysimplesoap/transport.py -> build/bdist.linux-x86_64/wheel/pysimplesoap
copying build/lib/pysimplesoap/server.py -> build/bdist.linux-x86_64/wheel/pysimplesoap
copying build/lib/pysimplesoap/__init__.py -> build/bdist.linux-x86_64/wheel/pysimplesoap
copying build/lib/pysimplesoap/client.py -> build/bdist.linux-x86_64/wheel/pysimplesoap
running install_egg_info
running egg_info
creating soap2py.egg-info
writing soap2py.egg-info/PKG-INFO
writing top-level names to soap2py.egg-info/top_level.txt
writing dependency_links to soap2py.egg-info/dependency_links.txt
writing manifest file 'soap2py.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found
reading manifest file 'soap2py.egg-info/SOURCES.txt'
writing manifest file 'soap2py.egg-info/SOURCES.txt'
Copying soap2py.egg-info to build/bdist.linux-x86_64/wheel/soap2py-1.16-py3.4.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/soap2py-1.16.dist-info/WHEEL
running bdist_wheel
running build
running build_py
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
copying build/lib/pysimplesoap/plugins.py -> build/bdist.linux-x86_64/wheel/pysimplesoap
error: could not create 'build/bdist.linux-x86_64/wheel/pysimplesoap/plugins.py': No such file or directory
----------------------------------------
Failed building wheel for pysimplesoap
Failed to build pysimplesoap
Installing collected packages: pysimplesoap
Running setup.py install for pysimplesoap
Successfully installed pysimplesoap-1.16
最佳答案
我注意到在Travis CI中使用pysimplesoap时也有类似的情况。我的一位同事追踪到了这个问题,并在pysimplesoap github 上提出了这个问题。
问题似乎是setup()被调用了两次,因为它的名称正从soap2py转换为pysimplesoap。因此,它看起来需要更好地包装,以允许它与车轮一起工作。
关于python - Simplesoap Python virtualenv的构建轮子失败,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/33628233/