Re: [fluka-discuss]: flair and python version

From: Dávid HORVÁTH <davhorv112_at_gmail.com>
Date: Thu, 15 Mar 2018 08:15:09 +0100

Dear Shirley,

you can set the python used by flair with adding the PYTHON
environmental variable to your .bashrc file, like:

export PYTHON=<python2 executable name>

In Fedora 27 the executable name is python2, it may be different in your case.

I hope this helps.

Kind regards,
David


On Wed, Mar 14, 2018 at 8:41 PM, Shirley Li <shirleyli.phys_at_gmail.com> wrote:
> Dear FLUKA experts,
>
> I'm trying to install flair on Ubuntu 16.04. My default system python is
> python3.6, which doesn't seem to be compatible with flair. I do have python
> 2.7 installed. Is there a way to tell flair to run python2 without changing
> my system default python?
>
> Thank you very much!
>
> Shirley

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Thu Mar 15 2018 - 09:33:54 CET

This archive was generated by hypermail 2.3.0 : Thu Mar 15 2018 - 09:34:03 CET