我正在尝试升级到最新的Mayavi的PyPI版本(4.4.0)。我用pip看到了它:
$ pip2 search mayavi
mayavi - The Mayavi scientific data 3-dimensional visualizer.
INSTALLED: 4.3.1
LATEST: 4.4.0
然后我尝试升级,这导致没有升级,而是关于它已经升级的消息。
$ sudo -H pip2 install --upgrade mayavi
Requirement already up-to-date: mayavi in /usr/local/lib/python2.7/dist-packages
Requirement already up-to-date: apptools in /usr/local/lib/python2.7/dist-packages (from mayavi)
Requirement already up-to-date: traits in /usr/local/lib/python2.7/dist-packages (from mayavi)
Requirement already up-to-date: traitsui in /usr/local/lib/python2.7/dist-packages (from mayavi)
Requirement already up-to-date: configobj in /usr/local/lib/python2.7/dist-packages (from apptools->mayavi)
Requirement already up-to-date: pyface in /usr/local/lib/python2.7/dist-packages (from traitsui->mayavi)
Requirement already up-to-date: six in /usr/local/lib/python2.7/dist-packages (from configobj->apptools->mayavi)
作为测试,我尝试升级请求(从2.4.3升级到2.6.0),并且$ sudo -H pip2 install --upgrade requests
正常工作。所以这不是一般的点子问题。
我还尝试了sudo -H pip2 uninstall mayavi
,然后是sudo -H pip2 install --upgrade mayavi
以及--force-reinstall
,--pre
,--allow-external
和--allow-unverified
选项。没有升级。
我有pip版本6.1.1(最新)。
详细说明我看到(以及其他消息):
Could not parse version from link: https://github.com/enthought/mayavi/archive/4.4.0.tar.gz (from https://pypi.python.org/simple/mayavi/)
Skipping link https://github.com/enthought/mayavi/archive/4.4.0.tar.gz (from https://pypi.python.org/simple/mayavi/); wrong project name (not mayavi)