Skip to content Skip to sidebar Skip to footer

Python Error : File ... Spherical.py... Import F_utils...importerror: Dll Load Failed: The Specified Module Could Not Be Found

I am running some codes in python 2.7 with MIN-GW - gfortran of fortran77 codes and Visual Studio 2010.I installed all requirements with pip, so when I do this: python setup.py ins

Solution 1:

As I used instruction same as below with a little modification , spherical.py could execute successfully, with no errors.

1) As sample in https://docs.scipy.org/doc/numpy/f2py/getting-started.html , I uninstall These : Min-GW and python 2.7 and any visual Studio software's . So I cleaned all Files related to python 2.7

2) Then I install Visual Studio 2019 and Intel Parallel Studio 2019 and python 3.7.0 (64 bit) with checkmark for python path ,also install packages needed for python such as numpy

3) then set a Path to C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2019.4.228\windows\compiler\lib\intel64

4) then Do as the structure as in the https://docs.scipy.org/doc/numpy/f2py/getting-started.html for fib1, also set () for print function.

then everything is successful.

Post a Comment for "Python Error : File ... Spherical.py... Import F_utils...importerror: Dll Load Failed: The Specified Module Could Not Be Found"