MadGraph 2.6.7 on Ubuntu 20

Asked by Francesca Acanfora

Hi,

I would like to use MadGraph 2.6.7 on Ubuntu 20.04.2 . Here the default python version is python 3, therefore I should launch MadGraph within virtualenvironment. I verified that virtualenvironment is working and added the MG5_aMC_v2_6_7 folder path to my PYTHONPATH variable. When in my terminal I launch ./bin/mg5_aMC I get the error

Traceback (most recent call last):
  File "./bin/mg5_aMC", line 129, in <module>
    import madgraph.interface.master_interface as interface
  File "/home/acanfora/MG5_aMC_v2_6_7/madgraph/interface/master_interface.py", line 43, in <module>
    import madgraph.interface.madgraph_interface as MGcmd
  File "/home/acanfora/MG5_aMC_v2_6_7/madgraph/interface/madgraph_interface.py", line 66, in <module>
    import madgraph.iolibs.export_cpp as export_cpp
  File "/home/acanfora/MG5_aMC_v2_6_7/madgraph/iolibs/export_cpp.py", line 34, in <module>
    import madgraph.iolibs.helas_call_writers as helas_call_writers
  File "/home/acanfora/MG5_aMC_v2_6_7/madgraph/iolibs/helas_call_writers.py", line 20, in <module>
    import models.check_param_card as check_param_card
  File "/home/acanfora/MG5_aMC_v2_6_7/models/check_param_card.py", line 19, in <module>
    import internal.file_writers as file_writers
ImportError: No module named internal.file_writers

What am I missing?

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Hi,

Sorry but we do not provide support anymore for 2.6.7, neither for running MG5aMC with python2.

Cheers,

Olivier

> On 10 Jun 2023, at 15:20, Francesca Acanfora <email address hidden> wrote:
>
> New question #706953 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/706953
>
> Hi,
>
> I would like to use MadGraph 2.6.7 on Ubuntu 20.04.2 . Here the default python version is python 3, therefore I should launch MadGraph within virtualenvironment. I verified that virtualenvironment is working and added the MG5_aMC_v2_6_7 folder path to my PYTHONPATH variable. When in my terminal I launch ./bin/mg5_aMC I get the error
>
>
> Traceback (most recent call last):
> File "./bin/mg5_aMC", line 129, in <module>
> import madgraph.interface.master_interface as interface
> File "/home/acanfora/MG5_aMC_v2_6_7/madgraph/interface/master_interface.py", line 43, in <module>
> import madgraph.interface.madgraph_interface as MGcmd
> File "/home/acanfora/MG5_aMC_v2_6_7/madgraph/interface/madgraph_interface.py", line 66, in <module>
> import madgraph.iolibs.export_cpp as export_cpp
> File "/home/acanfora/MG5_aMC_v2_6_7/madgraph/iolibs/export_cpp.py", line 34, in <module>
> import madgraph.iolibs.helas_call_writers as helas_call_writers
> File "/home/acanfora/MG5_aMC_v2_6_7/madgraph/iolibs/helas_call_writers.py", line 20, in <module>
> import models.check_param_card as check_param_card
> File "/home/acanfora/MG5_aMC_v2_6_7/models/check_param_card.py", line 19, in <module>
> import internal.file_writers as file_writers
> ImportError: No module named internal.file_writers
>
>
> What am I missing?
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Can you help with this problem?

Provide an answer of your own, or ask Francesca Acanfora for more information if necessary.

To post a message you must log in.