f2py导入错误dll加载失败:找不到指定的模块

时间:2018-06-10 22:40:48

标签: python f2py

我在Windows 7上运行f2py而没有错误

python C:\Python34\scripts\f2py.py -c --fcompiler=gnu95 --compiler=mingw32 -lmsvcr90 -m hello_world hello_world.f90

我得到hello_world.pyd但是当我尝试导入它时,我收到了错误

import dll load failed: the specified module could not be found

我还将pyd文件复制到Python发行版的不同文件夹中 - 但没有成功。

Compile fortran module with f2py and Python 3.6 on Windows 10通过将某个dll复制到该文件夹​​找到了解决方法(方法2),但我没有这个dll。

我该怎么办?

0 个答案:

没有答案
相关问题