I\'m trying (and failing) to compile a fortran module (specifically igrf12.f from the BGS) using f2py and Python 3.6 on Windows 10. Python was installed using Anaconda 4.4.1
I had the same issue. The top answer helps a lot. I would like to add some comments about the missing DLLs. A useful tool to help you find out which DLLs are missing is Process Monitor. You only need to add a filter python.exe
and track which DLLs are failed to load. For me, the following ones are missing:
I just need to copy them from the bin/
directory of my MinGW toolchain to the same directory of python.exe