Error when loading UFO model from pickle
Hi,
I'm using MG5 2.9.2 with python 3.8.6 and I'm having issues when using an external model (which worked fine with older MG5 versions).
The first time I import the model everything works fine and I can successfully generate processes and events.
However, when I try to use the model a second time the model gets imported without issues and I can generate processes, but when running "output test" I get the error:
Command "output test" interrupted with error:
UFOError : No module named '<model name>'
I've checked that the issue is related to the pickle file (py3_model.pkl) generated in the first run.
Do you know what I am doing wrong and how I can fix it?
Best,
-Andre
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 andlessa for more information if necessary.