KeyError : 'PYTHONPATH' when generating output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have imported my own UFO file into MadGraph and have generated a decay process successfully with no errors. I would now like to generate events for this process. However, whenever I try to use the "output" command it starts generating the files but then stops partway and gives me this:
Command "output" interrupted with error:
KeyError : 'PYTHONPATH'
Please report this bug on https:/
More information is found in 'MG5_debug'.
Please attach this file to your report.
I'm not sure if this is an issue with Python 2/3 compatibility, a simple path issue, or something wrong with the UFO file itself? I'm inclined to say this is an issue separate from MadGraph because after googling this I see this KeyError coming up a lot with other programs that use Python.
If anyone has encountered this and has some input on how to fix it, that would be much appreciated!
Thanks!
Can you attach the MG5_debug file?
forcing python2 will indeed likely fix this issue doing
PYTHONPATH= ./bin/mg5_aMC
will also likely fix the issue.
But if you give me that debug file, I will be able to have an easier fix in the next version of the code.
Thanks,
Olivier