The module f2py no longer has the compile command, and I can't get mesonbuild to import this fortran code as a module. I rarely use python and have already spent a few hours searching and troubleshooting. Please help! I am having trouble compiling a fortran code to use as a module in pythonc3.9 on a MAC OS intel. The published code is a few years old (https://github.com/lisllain/EAP-model/blob/main/EAP_MODEL_CODE.ipynb), but the following lines are the problem. sourcefile = open('Dmmex_R14B_4.f','rb') sourcecode = sourcefile.read() f2py.compile(sourcecode, modulename='Dmmex_R14B_4') Continue reading...