fix python 3.7 issue on windows
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
if os.name == 'nt':
|
if os.name == 'nt' and sys.version_info.major >= 3 and sys.version_info.minor >= 8:
|
||||||
os.add_dll_directory(os.path.dirname(__file__))
|
os.add_dll_directory(os.path.dirname(__file__))
|
||||||
|
|
||||||
from .NDIlib import *
|
from .NDIlib import *
|
||||||
|
|||||||
Reference in New Issue
Block a user