Default installation of Madanalysis5 failed

Asked by Khawla Jaffel

Dear expert,

i am using MG_v2.8.2 and i want to install MadAnalysis5
but i have this error :

Installing tool 'madanalysis5'...
    > Follow the installation progress by running the command below in a separate terminal)
    > tail -f /home/users/k/j/kjaffel/ZAPrivateProduction/MG5_aMC_v2_8_2/HEPTools/madanalysis5/madanalysis5_install.log
Traceback (most recent call last):
  File "/home/users/k/j/kjaffel/ZAPrivateProduction/MG5_aMC_v2_8_2/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1397, in <module>
    install_with_dependencies(target_tool,is_main_target=True)
  File "/home/users/k/j/kjaffel/ZAPrivateProduction/MG5_aMC_v2_8_2/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1371, in install_with_dependencies
    exec('install_%s(tmp_path)' % target)
  File "<string>", line 1, in <module>
  File "/home/users/k/j/kjaffel/ZAPrivateProduction/MG5_aMC_v2_8_2/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 854, in install_madanalysis5
    raise Exception('MadAnalysis5 still request Python2')
Exception: MadAnalysis5 still request Python2
Default installation of Madanalys5 failed, we suggest you try again with the options '--no_MA5_further_install --no_root_in_MA5'.
Command "install MadAnalysis5" interrupted with error:
InvalidCmd : Installation of madanalysis5 failed.
Please report this bug on https://bugs.launchpad.net/mg5amcnlo
More information is found in 'MG5_debug'.
Please attach this file to your report.
https://cp3.irmp.ucl.ac.be/~kjaffel/MG5_debug

it's seems it's complaining about python version : but i do use python2.7, so i don't know what's the problem!
the weird is that i manage to install MadAnalysis4 without problem !

Any ideas ,
Many thanks in advance

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Benjamin Fuks (fuks) said :
#1

Hello,

There is apparently some mix-up between different python versions here. Can you try to install MA5 as
  install MadAnalysis5 --madanalysis5_tarball=https://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_v1.9.12.tgz <https://madanalysis.irmp.ucl.ac.be/raw-attachment/wiki/MA5SandBox/ma5_v1.9.12.tgz>

This should be compliant both with python2 and python3.

Cheers,

Benjamin

> On 8 Jan 2021, at 14:25 , Khawla Jaffel <email address hidden> wrote:
>
> New question #694839 on MadAnalysis 5:
> https://answers.launchpad.net/madanalysis5/+question/694839
>
> Dear expert,
>
> i am using MG_v2.8.2 and i want to install MadAnalysis5
> but i have this error :
>
> Installing tool 'madanalysis5'...
>> Follow the installation progress by running the command below in a separate terminal)
>> tail -f /home/users/k/j/kjaffel/ZAPrivateProduction/MG5_aMC_v2_8_2/HEPTools/madanalysis5/madanalysis5_install.log
> Traceback (most recent call last):
> File "/home/users/k/j/kjaffel/ZAPrivateProduction/MG5_aMC_v2_8_2/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1397, in <module>
> install_with_dependencies(target_tool,is_main_target=True)
> File "/home/users/k/j/kjaffel/ZAPrivateProduction/MG5_aMC_v2_8_2/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 1371, in install_with_dependencies
> exec('install_%s(tmp_path)' % target)
> File "<string>", line 1, in <module>
> File "/home/users/k/j/kjaffel/ZAPrivateProduction/MG5_aMC_v2_8_2/HEPTools/HEPToolsInstallers/HEPToolInstaller.py", line 854, in install_madanalysis5
> raise Exception('MadAnalysis5 still request Python2')
> Exception: MadAnalysis5 still request Python2
> Default installation of Madanalys5 failed, we suggest you try again with the options '--no_MA5_further_install --no_root_in_MA5'.
> Command "install MadAnalysis5" interrupted with error:
> InvalidCmd : Installation of madanalysis5 failed.
> Please report this bug on https://bugs.launchpad.net/mg5amcnlo
> More information is found in 'MG5_debug'.
> Please attach this file to your report.
> https://cp3.irmp.ucl.ac.be/~kjaffel/MG5_debug
>
> it's seems it's complaining about python version : but i do use python2.7, so i don't know what's the problem!
> the weird is that i manage to install MadAnalysis4 without problem !
>
>
> Any ideas ,
> Many thanks in advance
>
> --
> You received this question notification because you are an answer
> contact for MadAnalysis 5.

Can you help with this problem?

Provide an answer of your own, or ask Khawla Jaffel for more information if necessary.

To post a message you must log in.