lowtran icon indicating copy to clipboard operation
lowtran copied to clipboard

DLL load failed

Open justapythonuser opened this issue 4 years ago • 1 comments

I installed lowtran the way you proposed. However, once I tried to run one of the test scripts, 'import lowtran7' from base.py always raised the error 'DLL load failed'. Checking the dependencies of lowtran7..pyd in Anaconda3/lib/site-packages with dependency walker revealed that python37.dll and also liblowtran7.dll could not be found. After copying python37.dll from Anaconda3/ and liblowtran7*.dll from Anaconda3/lib/site-packages/lowtran7/.libs/ in the same folder as lowtran7.*.pyd, everything worked fine. Don't know what caused the problem. I am running anaconda/python 3.7 on Windows 10.

justapythonuser avatar Oct 08 '19 12:10 justapythonuser

I'm not sure offhand. This is an issue that would be fixed by the possible future refactor to not use f2py.

scivision avatar Nov 25 '19 19:11 scivision