我有一台Debian机器,安装了以下软件包: python3,python3 virtualenv,python3 virtualenv,python3报告实验室
我创建了一个虚拟环境:
virtualenv --system-site-packages -p python3 venv
source venv/bin/activate
在此之后,我尝试使用pip安装z3c.RML包:
^{pr2}$这是我得到的输出:
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
有人知道我做错了什么吗?-谢谢
问题是backports.temp文件从未发布该包的最终版本。您需要将
pre
选项传递给pip
。如果不希望所有软件包都安装预发布版本,请执行以下操作:相关问题 更多 >
编程相关推荐