我正在尝试安装具有Jinja2 == 2.10作为依赖项软件包的软件包。 然后Jinja依赖于Markupsafe,但是在安装markupsafe时会出现冲突的错误。 为什么安装Markupsafe的版本是“ 0.0.0”?
我尝试以下操作均无济于事:
手动安装markupsafe 1.1版
手动安装Jinja2 == 2.10
Downloading/unpacking MarkupSafe>=0.23 (from Jinja2==2.10->MYPACKAGE)
Downloading MarkupSafe-2.0.0a1.tar.gz
Running setup.py egg_info for package MarkupSafe
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Source in ./build/MarkupSafe has the version 0.0.0, which does not match the requirement MarkupSafe>=0.23 (from Jinja2==2.10->nsscli==1.4.4)
Source in ./build/MarkupSafe has version 0.0.0 that conflicts with MarkupSafe>=0.23 (from Jinja2==2.10->MYPACKAGE)
Storing complete log in /root/.pip/pip.log
dpkg: error processing MYPACKAGE (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
MYPACKAGE