MadAnalysis5 issue with python
I have latest version of madgraph on my ubuntu 20.04 which has python3 as default.
To install MadAnalysis5, I created a virtual environment based on python2.7, there I installed the six package (so it is really under python2), I forced madgraph to run with python2.7 and I installed MadAnalysis5 successfully.
Now to use it, in the same environment, I launch a process (p p > t t~), and I get this complain which prevents MadAnalysis5 from running:
"MadAnalysis5 is not python3 compatible"
I know it is not python3 compatible and I did whatever to make sure my madgraph runs with python 2. Do you have any idea what is wrong?
Thanks a lot,
Nadjieh
Some input:
$ export VIRTUALENVWRAPP
$ source /usr/local/
$ mkvirtualenv -p /usr/bin/python2.7 p2
(p2) $ python -V [Python2.7.18]
(p2) $ python2.7 ./bin/mg5_aMC
THEN THE USUAL COMMANDS UNTIL LAUNCH,
INFO: MadAnalysis5 is not python3 compatible
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Abideh Jafari for more information if necessary.