Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
icfaust authored Jul 18, 2024
1 parent 0cb2089 commit efa4a49
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion daal4py/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@
if os.path.exists(dal_root_redist):
os.add_dll_directory(dal_root_redist)
os.environ["PATH"] = dal_root_redist + os.pathsep + os.environ["PATH"]
os.add_dll_directory(path_to_libs)
try:
os.add_dll_directory(path_to_libs)
except FileNotFoundError:
pass
os.add_dll_directory(path_to_oneapi_backend)
os.environ["PATH"] = path_to_libs + os.pathsep + os.environ["PATH"]

Expand Down

0 comments on commit efa4a49

Please sign in to comment.