[AstroPy] [Astropy] python install prb.

Thøger Emil Rivera-Thorsen trive at astro.su.se
Mon Feb 15 16:08:21 EST 2016


This means Matplotlib is not installed or not found by your Python 
installation.

Can you give some more detailed information about which steps you 
followed, in which operatng system, etc.?



On 02/15/2016 07:29 PM, Xavier Couvelard wrote:
> Hello,
>
> I went through the tutorial 
> https://python4astronomers.github.io/installation/python_install.html 
> to install python, it went well, but at the end i have problem with 
> matplotlib.
>
>
> In [7]: print(matplotlib.__version__)
> --------------------------------------------------------------------------- 
>
> NameError                                 Traceback (most recent call 
> last)
> <ipython-input-7-dc737d9da186> in <module>()
> ----> 1 print(matplotlib.__version__)
>
> NameError: name 'matplotlib' is not defined
>
> If i follow anyway:
>
> In [9]: plt.plot(x, sin(x))
> --------------------------------------------------------------------------- 
>
> NameError                                 Traceback (most recent call 
> last)
> <ipython-input-9-298a676ae7cb> in <module>()
> ----> 1 plt.plot(x, sin(x))
>
> Does any one can help ?
>
> Thanks
>
> Xavier
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> https://mail.scipy.org/mailman/listinfo/astropy




More information about the AstroPy mailing list