ImportError: DLL load failed while importing Test_PyApi #4502
WangZP10969
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I set up the environment and tested the routine. For direct source code export, pyd can be loaded normally
But for C++ code that contains referencesto third-party dlls, after pyd is exported, the loading prompt
ImportError: DLL load failed while importing Test_PyApi
Even if the search path of dll is added to the project, or directly copied to the same directory of pyd, the prompt is still the same
Is there a separate setup for C++ code that needs to referencesthe dll?
Beta Was this translation helpful? Give feedback.
All reactions