今天开始在Linux服务器中安装xmlsec
。我看到错误的一部分说This lxml version requires Python 2.7, 3.5 or later.
,但找不到该库删除Python v3.4或如何处理此问题的任何文档。帮助我再次工作,而无需升级Python 3.5。预先感谢。
Downloading https://files.pythonhosted.org/packages/35/42/d7cd323c91d4706f3cc32ffe7d5f851ab8ef9898ccb350f6ba593dd8b89a/xmlsec-1.3.3.tar.gz
Complete output from command python setup.py egg_info:
This lxml version requires Python 2.7, 3.5 or later.
Traceback (most recent call last):
File "/home/travis/virtualenv/python3.4.8/lib/python3.4/site-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/home/travis/virtualenv/python3.4.8/lib/python3.4/site-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/home/travis/virtualenv/python3.4.8/lib/python3.4/site-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/home/travis/virtualenv/python3.4.8/lib/python3.4/site-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-hkv6kerj/lxml-4.4.0/setup.py", line 12, in <module>
build_ext.build_ext.run(self)
SystemExit: 1
首先: lxml 是一个分开的软件包, xmlSec 取决于它,并在ya上安装最新版本的 lxml ya,当您/em>。几天前 第二:昨天我们遇到了同样的问题。甚至我们都有 lxml 版本冻结到&lt;4.4.0,我们仍然看到 XMLSEC 尝试设置最新的 lxml 。我们只是从unignt.txt中删除了 xmlSec ,并使用分离的PIP安装进行了安装,它可以完成。 基本上: