Matplotlib:鼻子,龙卷风

mag*_*e_b 49 python pip matplotlib jupyter

因为我正试图在我的mac上安装jupyter,所以我升级了我的点子.它向我展示了一切都很好,但后来我注意到了这一点:

    Requirement already up-to-date: pip in /Library/Python/2.7/site-packages/pip-10.0.0b2-py2.7.egg (10.0.0b2)
     matplotlib 1.3.1 requires nose, which is not installed.
     matplotlib 1.3.1 requires tornado, which is not installed.
     matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible.
Run Code Online (Sandbox Code Playgroud)

这是什么意思?即使我没有numphy> = 1.5,我的matplotlib也能正常工作吗?

我尝试修复它像建议matplotlib 1.3.1有要求numpy> = 1.5,但你会有numpy 1.8.0rc1这是不兼容但它不起作用:

sudo -H pip install numphy

Password:
Requirement already satisfied: numphy in /Library/Python/2.7/site-packages (0.0.1)
matplotlib 1.3.1 requires nose, which is not installed.
matplotlib 1.3.1 requires tornado, which is not installed.
matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible.
Run Code Online (Sandbox Code Playgroud)

Ola*_*nle 87

我遇到了同样的问题.您必须安装所述依赖项.哪个是鼻子,龙卷风和大于1.5的numpy版本请执行以下操作

sudo easy_install nose
sudo easy_install tornado
Run Code Online (Sandbox Code Playgroud)

至于关于numpy版本大于1.5的最后一部分,你必须获得最新版本的python.请参阅此处


Sna*_*ers 25

经过一些搜索后,我找到了一种安装软件包的方法,而无需检查当前版本,例如,安装matplotlib:

sudo -H pip install --ignore-installed matplotlib
Run Code Online (Sandbox Code Playgroud)

我不确定是否有更好的方法,但至少让我继续工作.我希望它有所帮助


Luc*_*edo 12

我是有这个nosetornado当我试图安装awscli在OSX(高塞拉利昂)的问题.我得到nosetornado安装了pip本身:

pip install tornado nose --user
Run Code Online (Sandbox Code Playgroud)

之后,awscli安装顺利进行

pip install awscli --user
Run Code Online (Sandbox Code Playgroud)