<p>我在ubuntu中安装了python3.2(默认版本没有被删除),并按照<a href="http://matplotlib.sourceforge.net/faq/installing_faq.html#how-to-install" rel="noreferrer">here</a>中的步骤操作</p>
<p>但是当我使用</p>
<pre><code>python3.2 setup.py install
</code></pre>
<p>我得到:</p>
<pre><code> "error: command 'gcc' failed with exit status 1",
"src/ft2font.cpp:2224:29: error: ‘Int’ is not a member of ‘Py’"
</code></pre>
<p>当我使用
<code>sudo apt-get install python-matplotlib</code>
我可以在python2.x中使用matplot,但仍然不能在python3.2中使用它
如何在python3.2中安装matplot?</p>