You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to install pyspharm. I tried locally building the package which is sucessful (using gfortran 7.4.1), and then I tried a pip installation, which also succeeds in building the project. However, on importing anything spharm related (more specifically, _spherepack) I get the following error:
ImportError: DLL load failed while importing _spherepack: The specified module could not be found.
I'm not even sure which DLL dependencies this is referring to, however the DLL in _spherepack is definitely there.
The text was updated successfully, but these errors were encountered:
will provide more information on what it is looking for and where. Adding >python-import-spharm.log to the end might make it easier to upload the result.
EDIT: Do you have a way to print out the function names in the DLL? NumPy ran into a problem a few years back where explicitly exporting one function disabled the export of the function Python needs to create the module object (PyInit__spherepack, I think)
Are there permission issues? I've run into a need to run chmod u+x path/to/whatever.dll for imports to work a few times, but I'm not sure what the Windows equivalent is (assuming you're on Windows).
Can it find the fortran runtime library? You might need to copy that into the same directory as _spherepack.*.dll. Do you know of a Windows equivalent to ldd to print out the DLLs required by a given library?
Hi, I am trying to install pyspharm. I tried locally building the package which is sucessful (using gfortran 7.4.1), and then I tried a pip installation, which also succeeds in building the project. However, on importing anything spharm related (more specifically, _spherepack) I get the following error:
ImportError: DLL load failed while importing _spherepack: The specified module could not be found.
I'm not even sure which DLL dependencies this is referring to, however the DLL in _spherepack is definitely there.
The text was updated successfully, but these errors were encountered: