Hi Jose,
all these modules are in the /usr/local/flair/lib directory
Simply set the PYTHONPATH before running your program like
export PYTHONPATH=/usr/local/flair:/usr/local/flair/lib
python Data.py
or in a single line (without the export)
PYTHONPATH=/usr/local/flair:/usr/local/flair/lib python Data.py
Vasilis
________________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of jbazo_at_pucp.edu.pe [jbazo_at_pucp.edu.pe]
Sent: 17 September 2015 22:30
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: Reading collision tape with python
Dear FLUKA users:
When we try to use "Data.py" to read the output of USERDUMP, we get a simple problem related to missing modules like "bmath". Is it something special needed or do we just have to modify some paths or add some libraries? We are using FLUPIX on a VirtualMachine and we would suppose that everything should be already installed to properly run python.
Thank you in advance for your help.
Best regards,
Jose
__________________________________________________________________________
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id¬c_info
Received on Fri Sep 18 2015 - 14:48:04 CEST