【发布时间】:2012-01-26 05:03:48
【问题描述】:
我在ubuntu中安装了python3.2(默认版本没有删除),按照here中的步骤操作
但是当我使用
python3.2 setup.py install
我明白了:
"error: command 'gcc' failed with exit status 1",
"src/ft2font.cpp:2224:29: error: ‘Int’ is not a member of ‘Py’"
当我使用
sudo apt-get install python-matplotlib
我可以在 python2.x 中使用 matplot,但我仍然不能在 python3.2 中使用它
python3.2如何安装matplot?
【问题讨论】:
-
从 1.2 版(2012 年 11 月发布)开始,matplotlib 现在支持 Python 3.2,但在此之前,您需要从 github 构建,如下所示。
标签: python numpy matplotlib python-3.2