Extension module (*.so) is not produced after using f2py
0
I use Win7, and installed Anaconda for python and gfortran (MINGW) for fortran. After using f2py, I cannot find a extension module file. I tried the example in the following links: Three ways to wrap F2PY - Calling Fortran routines from Python If I type as follows in the Anaconda prompt, <base> C:CodesF2PY> f2py -c --fcompiler=gfortran -m fib1 fib1.f Then, fib1.cp36-win_amd64.pyd file and fib1 folder is generated. .libs folder is located under the fib folder, and there exists libfib1.5W62YGKMVL6PD3QLPPSXTQ2OGA5LRIRQ.gfortran-win_amd64 file in the .libs folder. However, the expected extension module ( fib1.so ) is not generated. Is there anything I missed? I already checked gfortran and python are working well seprately. C:CodesF2PY>f2py -c --fcompiler=gfortran -m fib1 fib1