pierre_rt
pierre_rt

Reputation: 11

Python 3.8 DLL Issue - ImportError: DLL load failed while importing _libprojectApiPy38_64: The specified module could not be found

I'm having issues when importing a Python API I'm building.

I'm using Swig to wrap C code, then compile it into a pyd library. Everything goes well during the build and I get my pyd library _libprojectApiPy38_64.pyd with no apparent issue. The issue comes at runtime, when I try importing my library I get the following error, despite the library being in the same folder:

ImportError: DLL load failed while importing _libprojectApiPy38_64: The specified module could not be found.

Key info:

Please note that I have already done the exact same procedure for Python 3.7 and the library works with no issue, this only happens when using Python 3.8.

Thank you!

Upvotes: 1

Views: 773

Answers (0)

Related Questions