mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-05 03:21:12 +08:00
ENH: Find libcv.so.2.1 in addition to just libcv.so.
This commit is contained in:
@@ -32,7 +32,7 @@ def _import_opencv_lib(which="cv"):
|
||||
]
|
||||
|
||||
if sys.platform.startswith('linux'):
|
||||
extensions = ['.so', '.so.1']
|
||||
extensions = ['.so', '.so.2.1', '.so.1']
|
||||
elif sys.platform.startswith("darwin"):
|
||||
extensions = ['.dylib']
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user