当我试图如何在Ubuntu 12.04中安装python-matplotlib?
$ sudo apt-get install python-matplotlib
我得到了以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python-matplotlib
如何install
呢?
可能需要'的easy_install -U distribute'太多,如果你在安装时出现以下错误:“egg_info在/ tmp/pip_build_root,错误代码2失败,命令python setup.py/matplotlib;将调试日志存储在/root/.pip/pip.log中“。 –
@FranckDernoncourt我得到这个错误,但你的建议没有奏效。 – codepk