[Windows] Workaround for loading bundled DLLs (#4893)
* [Windows] Workaround for loading bundled DLLs Python-3.8+ adds `add_dll_directory` call, see https://docs.python.org/3/whatsnew/3.8.html#ctypes Simulate this behaviour on older versions of Python runtime by calling `LoadLibraryExW` with the appropriate flags Fixes https://github.com/pytorch/vision/issues/4787
Showing
Please register or sign in to comment