Update __init__.py.in (#2515)

pull/2517/head
Ryan_Huang 3 years ago committed by GitHub
parent 7be763d65e
commit 7e942ba989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,7 @@ def add_lib_to_dll_path(path):
try:
import os
os.add_dll_directory(os.path.join(os.path.dirname(path), '../../bin'))
except (AttributeError,KeyError):
except (AttributeError,KeyError,FileNotFoundError):
pass
if '@DLIB_USE_CUDA@' == 'ON':

Loading…
Cancel
Save