My numpy is latest but tensroflow says it's old one
<pre><code>$pip list

numpy(1.11.1)
</code></pre>

<p>My numpy is latest and I am sure it could be used in python environment.</p>

<pre><code>&gt;&gt;&gt; import numpy
&gt;&gt;&gt; print numpy.__version__
1.11.1
</code></pre>

<p>however I use tensorflow </p>

<pre><code>$ tensorboard --logdir=/tmp/basic_rnn/logdir
</code></pre>

<p>it shows this error</p>

<pre><code>RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
</code></pre>

<p>What causes this problem??</p>

<p>I suspect that the <code>tensorboard</code> command is linked against the wrong Python environment. Make sure that <code>tensorflow</code> uses the same Python interpreter/virtual environment as you checked your numpy installation with. Also check your <code>PATH</code> and <code>PYTHONPATH</code> and take a look at <code>sys.path</code> and <code>sys.prefix</code> to see if there are some paths mixed up.</p>

python tensorflow