安装自定义软件包[MYPACKAGE]时出现python依赖项错误[Jinja2-> Markupsafe]

时间:2020-07-17 09:17:46

标签: python installation dependencies package jinja2

我正在尝试安装具有Jinja2 == 2.10作为依赖项软件包的软件包。 然后Jinja依赖于Markupsafe,但是在安装markupsafe时会出现冲突的错误。 为什么安装Markupsafe的版本是“ 0.0.0”?

我尝试以下操作均无济于事:

  1. 手动安装markupsafe 1.1版

  2. 手动安装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
    

0 个答案:

没有答案