<divid="unreleased-message"> You are reading an old version of the documentation (v3.0.2). For the latest version see <ahref="/stable/">https://matplotlib.org/stable/</a></div>
<spanclass="n">sys</span><spanclass="o">.</span><spanclass="n">stderr</span><spanclass="o">.</span><spanclass="n">write</span><spanclass="p">(</span><spanclass="s1">'Running from numpy source directory.</span><spanclass="se">\n</span><spanclass="s1">'</span><spanclass="p">)</span>
<spanclass="n">msg</span><spanclass="o">=</span><spanclass="s2">"""Error importing numpy: you should not try to import numpy from</span>
<spanclass="s2"> its source directory; please exit the numpy source tree, and relaunch</span>
<spanclass="s2"> your python interpreter from there."""</span>
<spanclass="n">msg</span><spanclass="o">=</span><spanclass="p">(</span><spanclass="s2">"The current Numpy installation (</span><spanclass="si">{!r}</span><spanclass="s2">) fails to "</span>
<spanclass="s2">"pass simple sanity checks. This can be caused for example "</span>
<spanclass="s2">"by incorrect BLAS library being linked in."</span><spanclass="p">)</span>