【发布时间】:2018-02-05 12:57:00
【问题描述】:
VTK 软件包有 recently been made available for pip,但是当我尝试在 Ubuntu 14.04 上运行 pip install --user --upgrade vtk(或使用 pip3)时,我得到的只是:
Could not find any downloads that satisfy the requirement vtk in /usr/lib/pymodules/python2.7
Downloading/unpacking vtk
Cleaning up...
No distributions at all found for vtk in /usr/lib/pymodules/python2.7
Storing debug log for failure in /home/ignacio/.pip/pip.log
日志文件显示:
Getting page https://pypi.python.org/simple/vtk/
URLs to search for versions for vtk in /usr/lib/pymodules/python2.7:
* https://pypi.python.org/simple/vtk/
Analyzing links from page https://pypi.python.org/simple/vtk/
...
Skipping https://pypi.python.org/packages/13/7f/735fbc0dd78c91ad3693cfdfe5c91603899fc8e24909f935d46d2fde6559/vtk-8.1.0-cp27-cp27mu-manylinux1_x86_64.whl#md5=49c8d620b2affe2dc2284048659115e5 (from https://pypi.python.org/simple/vtk/) because it is not compatible with this Python
...
但我肯定有 CPython 2.7.6 和 3.4.3(或者他们就是这么说的),并且我已经安装了带有 pip/pip3 的其他软件包。它“与此 Python 不兼容”的原因可能是什么?
python -c "from pip import pep425tags;print(pep425tags.supported_tags)" 的输出包括('cp27', 'cp27mu', 'manylinux1_x86_64')
【问题讨论】:
标签: python installation pip vtk