forked from isl-org/Open3D
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix python package-DLLs not being found
This PR introduced `winmode=0` for loading DLLs during import: isl-org#5259 This however leads to directories added via `os.add_dll_directory` not being considered, when loading DLLs (see isl-org#7104 (comment)). In particular this leads to open3d/tbb12.dll not being found. Fix this by going back to the default DLL-search mode (`winmode=None`). In order to still be able to find CUDA-DLLs, that are not part of the open3d-package, search their directory in PATH and explicitly add it to the DLL-search-locations for CUDA-builds.
- Loading branch information
1 parent
8dbccb6
commit d28f514
Showing
2 changed files
with
19 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters