mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
Solve the import issue in Python2.
This commit is contained in:
parent
1f519eea89
commit
bb7dc5f992
@ -39,7 +39,7 @@ def bootstrap():
|
||||
l_vars = locals()
|
||||
|
||||
if sys.version_info[:2] < (3, 0):
|
||||
from cv2.load_config_py2 import exec_file_wrapper
|
||||
from . load_config_py2 import exec_file_wrapper
|
||||
else:
|
||||
from . load_config_py3 import exec_file_wrapper
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user