使用Fortran Solvers在Windows 64位上安装Odespy



我尝试安装odespy(https://github.com/hplgit/odespy)在带有Anaconda Python发行版3.4的Windows 7 x64上。如果我用开始安装

python setup.py install --no-fortran

安装没有问题。因为我需要额外的Fortran求解器,并且有一条消息"win64上的gfortran只支持MS编译器",所以我安装了Visual Studio 2010。当我用开始编译时

python setup.py build --compiler=msvc

我从链接器得到的错误如下:

_odepack.lib(opkda2.o) : error LNK2001: unresolved external symbol _gfortran_runtime_error_at_odepack.lib(solve_odepack.o) : error LNK2019: unresolved external symbol _gfortran_os_error referenced in function solve__odepack.lib(solve_odepack.o) : error LNK2019: unresolved external symbol _gfortran_compare_string referenced in function solve_

我在这里上传了完整的编译输出:http://n.ethz.ch/~faheller/download/misc/output_compailation_odespy.txt

有人知道问题出在哪里吗?

Odespy尚未移植到Python3。使用Python 27。(https://github.com/hplgit/odespy/issues/5)

最新更新