Installation Rife with Issues

Asked by Ethan Steele

Hello,

I am using Windows 11 and need to use MadGraph for a class project. To use such programs, I am using Oracle's VirtualBox and the Ubuntu OS. Every installation tutorial I watch makes it looks incredibly simple to get running but it has been several hours of trial and error so far and I can't seem to get the program running. Here's what I have at the moment:

I have the directory /home/steelee/MG5_aMC_v2_9_21
While in that directory, I attempt the command:
./bin/mg5_aMC
It spits out the following:

steelee@Ubuntu:~/MG5_aMC_v2_9_21$ ./bin/mg5_aMC
For tab completion and history, install module readline.
Traceback (most recent call last):
  File "/home/steelee/MG5_aMC_v2_9_21/./bin/mg5_aMC", line 153, in <module>
    import madgraph.interface.master_interface as interface
  File "/home/steelee/MG5_aMC_v2_9_21/madgraph/interface/master_interface.py", line 40, in <module>
    import madgraph.core.diagram_generation as diagram_generation
  File "/home/steelee/MG5_aMC_v2_9_21/madgraph/core/diagram_generation.py", line 32, in <module>
    import madgraph.core.base_objects as base_objects
  File "/home/steelee/MG5_aMC_v2_9_21/madgraph/core/base_objects.py", line 28, in <module>
    import madgraph.core.color_algebra as color
  File "/home/steelee/MG5_aMC_v2_9_21/madgraph/core/color_algebra.py", line 24, in <module>
    import madgraph.various.misc as misc
  File "/home/steelee/MG5_aMC_v2_9_21/madgraph/various/misc.py", line 32, in <module>
    import gzip as ziplib
  File "/usr/local/lib/python3.13/gzip.py", line 9, in <module>
    import zlib
ModuleNotFoundError: No module named 'zlib'

I installed zlib, but it still does not work. I don't know if maybe zlib is in the wrong spot or something. I had to install it manually. I also had to go through a ton of hurdles installing python, and a library called "six" which gave me a really difficult time.

Please, any help would be greatly appreciated, I was already starting on this assignment a little later than I should have (its a presentation on gravitons and its due on the 21st).

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

We have not yet tried to run with python3.13 (was not aware that it was released). And we still have issue with python3.12.
So my suggestion is to downgrade to python3.11

Cheers,

Olivier

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#2

Just to confirm that I did test python3.13 and I did face many issue and the test suite crashed in a lot of place...
I guess this will be work for next week.

Cheers,

Olivier

Can you help with this problem?

Provide an answer of your own, or ask Ethan Steele for more information if necessary.

To post a message you must log in.