Python Compatibility issue for MadDM

Asked by Saunak Dutta

Hello,
I have python 3.8.10. When installing maddm, I get the following error once the tarball is download:

" compile maddm. This might take a while.
no compilation needed for plugin. Loading plugin information
Plugin not python3 compatible! It will run with python2
Plugin maddm correctly interfaced. Latest official validition for MG5aMC version .
To use this module, you need to quit MG5aMC and run the executable bin/maddm.py
Installation succeeded "

upon which I quit
" MG5_aMC>quit "

and type
" bin/maddm.py "

on my terminal to find out

" Traceback (most recent call last):
  File "/home/saunak/Project/Tools/MG5_aMC_v3.1.1/MG5_aMC_v3_1_1/bin/mg5_aMC", line 163, in <module>
    __import__('PLUGIN.%s' % options.plugin)
  File "/home/saunak/Project/Tools/MG5_aMC_v3.1.1/MG5_aMC_v3_1_1/PLUGIN/maddm/__init__.py", line 3, in <module>
    import maddm_interface as maddm_interface
ModuleNotFoundError: No module named 'maddm_interface' "

Could anyone please suggest what should I need to do in order to install maddm properly with my given version of Python?

Thanks in advance,
Saunak

Question information

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

Hi,

MadDM is not yet compatible with python3.
So they are no solution to make maddm working with your version of Python.
I do not think that we can have an official version of maddm working with python3 before around one year.
alpha/beta version can be available earlier obviously but none are available for the moment since the porting work has not been started.

Cheers,

Olivier

Revision history for this message
Saunak Dutta (saunak-dutta) said :
#2

Thanks Olivier Mattelaer, that solved my question.