title: Installing matplotlib for python3 on Ubuntu
body: <p>I'm running Ubuntu 12.04, and I need to use <code>matpltlib</code> in <strong>Python 3.2.3</strong>. I successfully installed it using</p>
  
  <pre><code>sudo apt-get install python-matplotlib
  </code></pre>
  
  <p>But now it works only in Python 2.7, which seems to be the default version:</p>
  
  <pre><code>$ python2
  Python 2.7.3 (default, Feb 27 2014, 20:00:17) 
  [GCC 4.6.3] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import matplotlib
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>But python 3 doesn't work:</p>
  
  <pre><code>$ python3
  Python 3.2.3 (default, Feb 27 2014, 21:33:50) 
  [GCC 4.6.3] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import matplotlib
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named matplotlib
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>Also, my <code>python</code> command seems to be 'broken':</p>
  
  <pre><code>$ python
  bash: /usr/bin/python: No such file or directory
  </code></pre>
  
  <p>Any help is appreciated!</p>