2017-05-31 104 views
0

我有一个Debian系统与如下因素的软件包安装要求backports.tempfile(从z3c.RML)版本: python3,蟒蛇-的virtualenv,python3-的virtualenv,python3-ReportLab的找不到满足

我创建了一个带有虚拟环境:

virtualenv --system-site-packages -p python3 venv 
source venv/bin/activate 

在此之后我tryed与PIP安装z3c.RML包:

pip install z3c.RML 

这是外出把我得到:

Downloading/unpacking z3c.RML 
    Downloading z3c.rml-3.2.0.tar.gz (1.7MB): 1.7MB downloaded 
    Running setup.py (path:/tmp/pip-build-zuhtd3uu/z3c.RML/setup.py) egg_info for package z3c.RML 

    warning: no previously-included files matching '*.png' found under directory 'src/z3c/rml/tests/output' 
    warning: no previously-included files matching '*.pdf' found under directory 'src/z3c/rml/tests/output' 
    warning: no previously-included files matching '*.png' found under directory 'src/z3c/rml/tests/expected' 
    warning: no previously-included files matching '*.pyc' found anywhere in distribution 
Downloading/unpacking PyPDF2>=1.25.1 (from z3c.RML) 
    Downloading PyPDF2-1.26.0.tar.gz (77kB): 77kB downloaded 
    Running setup.py (path:/tmp/pip-build-zuhtd3uu/PyPDF2/setup.py) egg_info for package PyPDF2 

Downloading/unpacking Pygments (from z3c.RML) 
    Downloading Pygments-2.2.0-py2.py3-none-any.whl (841kB): 841kB downloaded 
Downloading/unpacking backports.tempfile (from z3c.RML) 
    Could not find a version that satisfies the requirement backports.tempfile (from z3c.RML) (from versions: 1.0rc1, 1.0rc1) 
Cleaning up... 
No distributions matching the version for backports.tempfile (from z3c.RML) 
Storing debug log for failure in /root/.pip/pip.log 

有人知道我做错了什么? - 谢谢

回答

0

问题是,backports.tempfile的所有者从未发布包的最终版本。您需要将--pre选项传递给pip。如果您不希望所有软件包安装预发行版本,请执行以下操作:

pip install --pre backports.tempfile 

pip install z3c.rml