RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
<p>I'm going through the API tutorial on New Coder (<a href="http://newcoder.io/api/" rel="noreferrer">this one</a>) and got the following error when I try to run the program:</p>

<pre><code>RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9Traceback (most recent call last):
  File "api.py", line 7, in &lt;module&gt;
import matplotlib.pyplot as plt
  File "/home/crash/TestEnv/venv/local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 27, in &lt;module&gt;
import matplotlib.colorbar
  File "/home/crash/TestEnv/venv/local/lib/python2.7/site-packages/matplotlib/colorbar.py", line 32, in &lt;module&gt;
import matplotlib.artist as martist
  File "/home/crash/TestEnv/venv/local/lib/python2.7/site-packages/matplotlib/artist.py", line 12, in &lt;module&gt;
from .transforms import Bbox, IdentityTransform, TransformedBbox, \
  File "/home/crash/TestEnv/venv/local/lib/python2.7/site-packages/matplotlib/transforms.py", line 39, in &lt;module&gt;
from matplotlib._path import (affine_transform, count_bboxes_overlapping_bbox,
ImportError: numpy.core.multiarray failed to import
</code></pre>

<p>I know it isn't my code because I tried running it with the example code too and had the same issue. One answer I saw suggested on here was to try Numpy 1.8, but that didn't work either.</p>

<p>Also, all of this is set up within a virtual environment as directed so I don't think it's an issue of what I have installed elsewhere.</p>