Skip to content

Commit c5f174f

Browse files
committed
Updating the error message when arrayfire libraries isn't found
- Emits the link to the wiki page which discusses the environment variables
1 parent 81308e9 commit c5f174f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arrayfire/library.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,8 @@ def __init__(self):
376376
pass
377377

378378
if (self.__name is None):
379-
raise RuntimeError("Could not load any ArrayFire libraries")
379+
raise RuntimeError("Could not load any ArrayFire libraries.\n" +
380+
"Please look at https://github.com/arrayfire/arrayfire-python/wiki for more information.")
380381

381382
def get_id(self, name):
382383
return self.__backend_name_map[name]

0 commit comments

Comments
 (0)