Importing created package fails with ImportError: DLL load failed (Fortran90) #595
-
I'm trying to migrate an existing project to meson. The package is here: https://github.com/RubendeBruin/specpart It builds successfully on github actions on windows-latest. But when I download and test the created wheel it fails with Tried to solve this by enforcing a static build by including details (copied from readme.md:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @RubendeBruin, thanks for the nice reproducer and README questions. My immediate two thoughts:
|
Beta Was this translation helpful? Give feedback.
-
Hi @rgommers , thanks for the reply! adding only the Now to figure out how to properly include it in the CI but that is another topic. |
Beta Was this translation helpful? Give feedback.
Hi @RubendeBruin, thanks for the nice reproducer and README questions. My immediate two thoughts:
delvewheel
over it first in CI. That will vendor thelibgfortran.dll
runtime you need and make the binary portable.pip install .
is usually broken if a DLL from outside the package is needed and not on the library search path.auditwheel
/delocate
. (or mayberepa…