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

From: Jean-Emmanuel Groetz <jegroetz_at_univ-fcomte.fr>
Date: Fri, 5 Feb 2021 14:59:50 +0100 (CET)

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
http://chrono-environnement.univ-fcomte.fr/spip.php?article1537
_______________________________________________________________


De: "Senger, Anna Dr." <A.Senger_at_gsi.de>
À: "fluka-discuss" <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



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:06:07 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 05 2021 - 17:06:09 CET