3

在 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
4

1 回答 1

1

在尝试将 pysimplesoap 与 Travis CI 一起使用时,我注意到了类似的事情。我的一位同事追踪了这个问题,并在pysimplesoap github上提出了这个问题。

问题似乎是 setup() 被调用了两次,因为它的名称正在从 soap2py 转换为 pysimplesoap。所以看起来它需要更好地包装以使其与轮子一起工作。

于 2015-11-19T16:26:32.783 回答