AW: [fluka-discuss]: FLAIR: No module named 'matplotlib'

From: Senger, Anna Dr. <A.Senger_at_gsi.de>
Date: Fri, 5 Feb 2021 14:24:05 +0000

Dear Jean-Emmanuel.
Yes, after I installed matplotlib, the problem disappeared.
I’m not so familiar with miniconda, I thought, matplotlib was installed automatically.
And now I can run FLAIR.

Thank you

Regards
Anna


Von: Jean-Emmanuel Groetz <jegroetz_at_univ-fcomte.fr>
Gesendet: Freitag, 5. Februar 2021 15:00
An: Senger, Anna Dr. <A.Senger_at_gsi.de>
Cc: fluka-discuss <fluka-discuss_at_fluka.org>
Betreff: Re: [fluka-discuss]: FLAIR: No module named 'matplotlib'

Dear Anna,

Matplotlib is a Python library for plotting. Usually, Flair uses either gnuplot or matplotlib to plot the results.
Here is what linux/ubuntu tells about it :
"Matplotlib is a pure Python plotting library designed to bring publication
quality plotting to Python with a syntax familiar to Matlab users. All of
the plotting commands in the pylab interface can be accessed either via a
functional interface familiar to Matlab users or an object oriented
interface familiar to Python users."

So you have to install this libray on your OS. Be aware that it could have some dependencies with other packages at the setup.

Jean-Emmanuel

_____________________________________________________________
Jean-Emmanuel Groetz
Laboratoire Chrono-Environnement UMR CNRS 6249
Université de Franche-Comté
16 route de Gray
25030 Besançon Cedex France

Phone : +33 (0)3 81 66 65 07
mailto: jegroetz_at_univ-fcomte.fr<mailto:jegroetz_at_univ-fcomte.fr>
http://chrono-environnement.univ-fcomte.fr/spip.php?article1537
_______________________________________________________________

________________________________
De: "Senger, Anna Dr." <A.Senger_at_gsi.de<mailto:A.Senger_at_gsi.de>>
À: "fluka-discuss" <fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>>
Envoyé: Vendredi 5 Février 2021 11:41:33
Objet: [fluka-discuss]: FLAIR: No module named 'matplotlib'

Dear FLAIR experts.
I tried to install new FLAIR version from http://flair.web.cern.ch/flair/
I use Miniconda: conda 4.9.2

I tried to run FLAIR, but:
Traceback (most recent call last):
  File "/… /flair/flair-3.1/flair.py", line 113, in <module>
    import MPPlot
  File "/… /flair/flair-3.1/MPPlot.py", line 20, in <module>
    import matplotlib
ModuleNotFoundError: No module named 'matplotlib'

Please, help me to understand the problem

Best regards
Anna

______________________________________

Dr. Anna Senger

Office KBW 2.01
Tel. +49(0)615971 1844
E-Mail A.Senger_at_gsi.de<mailto:A.Senger_at_gsi.de>

FAIR - Facility for Antiproton and Ion Research in Europe GmbH

Planckstr. 1
64291 Darmstadt
DEUTSCHLAND



__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Feb 05 2021 - 17:02:34 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 05 2021 - 17:02:37 CET