my system default is python2.5. I installed python2.6 but how to link it

Asked by Santosh on 2011-07-29

I am using ubuntu 8.04LTS and the system default is python 2.5.2. I have installed python 2.6 as a separate version, but when mg5 call for the system default, it gets python 2.5 and does not run. So can I somehow use Madgraph 5 by redirecting to my python 2.6 installation without changing the system default ?

Question information

Language:
English Edit question
Status:
Solved
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Solved by:
Johan Alwall
Solved:
2011-07-30
Last query:
2011-07-30
Last reply:
2011-07-30
Best Johan Alwall (johan-alwall) said : #1

Hello Santosh,

You can always start mg5 by
python bin/mg5
That way you can specify which version of Python you'll be running.

All the best,
Johan

Santosh (skrai22) said : #2

Hi Johan,

Thanks a lot. It worked like a charm :)

Best regards,
Santosh