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
File “D:\lib\pyITK_build\Wrapping\Generators\Python\itk\support…\RTKPython.py”, line 13, in
from . import _RTKPython
ImportError: DLL load failed while importing _RTKPython: cannot find specified module.
The bug is still present using ITK and RTK master branches. Looks like _RTKPython fails to load the CUDA Toolkit libraries.
@GabrieleBelotti FYI it can be worked around by providing the CUDAToolkit libraries at runtime: os.add_dll_directory("C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/bin")
I'll investigate why the CUDA libs are not found and will update.
I'll also look into builds using shared libs which fail because of redefinition issues.
The bug is still present using ITK and RTK master branches. Looks like _RTKPython fails to load the CUDA Toolkit libraries.
@GabrieleBelotti FYI it can be worked around by providing the CUDAToolkit libraries at runtime: os.add_dll_directory("C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.5/bin") I'll investigate why the CUDA libs are not found and will update.
I'll also look into builds using shared libs which fail because of redefinition issues.
@LucasGandel By chance I compiled the library on a similar win10 machine that was running python 3.7 instead of 3.8.
The issue is not reproduced and I don't need a workaround. Can't tell if this is due to the python version or to the different folder organization for this other machine.
Error message is
See https://discourse.itk.org/t/building-itk-with-python-wrappers/4396/6. This issue should be fixed before #434 in my opinion. @LucasGandel @Thibault-Pelletier @GabrieleBelotti
The text was updated successfully, but these errors were encountered: