Downgrade OpenCV, Add SYSTEM_VERSION_COMPAT=0 for MacOS
This commit is contained in:
parent
a5649be4a1
commit
dd2193cf39
@ -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:
|
||||
|
@ -4,7 +4,7 @@ gradio==3.50.2
|
||||
numpy==1.26.2
|
||||
onnx==1.15.0
|
||||
onnxruntime==1.16.3
|
||||
opencv-python==4.9.0.80
|
||||
opencv-python==4.8.1.78
|
||||
psutil==5.9.6
|
||||
realesrgan==0.3.0
|
||||
torch==2.1.2
|
||||
|
Loading…
Reference in New Issue
Block a user