Downgrade OpenCV, Add SYSTEM_VERSION_COMPAT=0 for MacOS
This commit is contained in:
@@ -48,6 +48,8 @@ def run(program : ArgumentParser) -> None:
|
||||
args = program.parse_args()
|
||||
python_id = 'cp' + str(sys.version_info.major) + str(sys.version_info.minor)
|
||||
|
||||
if platform.system().lower() == 'darwin':
|
||||
os.environ['SYSTEM_VERSION_COMPAT'] = '0'
|
||||
if not args.skip_venv:
|
||||
os.environ['PIP_REQUIRE_VIRTUALENV'] = '1'
|
||||
if args.torch and args.onnxruntime:
|
||||
|
||||
Reference in New Issue
Block a user