Skip to content
Advertisement

Tag: f2py

f2py: Python does not import module

I would like to import an Fortran module into python with f2py. I successfully compiled the module with the command f2py -c primes.f90 -m primes. This command generates primes.cp39-win_amd64.pyd and an directory: When I am trying to import the module as described here with import primes it imports something but not the module. So e.g I cannot see the docstring

Advertisement