title: Python 3.4 and 2.7: Cannot install numpy package for python 3.4
body: <p>I am using Ubuntu 12.04 and want to use python 3.4 side by side with python 2.7.</p>
  
  <p>The installation of python 3.4 worked properly. However, I cannot install the numpy package for python 3 (and as a consequence I can't install scipy, pandas etc.).</p>
  
  <p>Using </p>
  
  <pre><code> sudo pip3 install numpy
  </code></pre>
  
  <p>spits out the following error:</p>
  
  <pre><code>File "numpy/core/setup.py", line 289, in check_types
  
  "Cannot compile 'Python.h'. Perhaps you need to "\
  
  SystemError: Cannot compile 'Python.h'. Perhaps you need to install python-dev|python-devel.
  </code></pre>
  
  <p>Btw, I already have python-dev installed.</p>
  
  <p>Moreover, installing numpy via </p>
  
  <pre><code> sudo apt-get install python-numpy
  </code></pre>
  
  <p>does not work either since I already installed numpy for python 2.7 and the installer responds that numpy is already up to date.</p>
  
  <p>What can I do? Thanks!</p>