python - simplesoap Python virtualenv 的构建轮失败

标签 python python-wheel pysimplesoap

在 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

最佳答案

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

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

关于python - simplesoap Python virtualenv 的构建轮失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33628233/

相关文章:

python - 模型不学习

python - Keras CosineSimilarity - 正或负

javascript - CORS 与 pysimplesoap 服务器

python - App Engine 是否支持客户端证书

python - 如何从 Python 函数的返回值集中访问值的子集?

python - 找到多对点之间最近的 8 连通棋盘距离 : shortest m-path

python - 模块 'pip' 没有属性 'pep425tags'

python - 为 Python 包添加虚拟命名空间

curl - 从 PyPi 下载轮子