Files
IOPaint/iopaint/installer.py
Qing 11f7d3cb79 fix onnxruntime version
fix onnxruntime bug on windows: DLL load failed while importing onnxruntime_pybind11_state
2025-03-18 09:49:45 +08:00

12 lines
224 B
Python

import subprocess
import sys
def install(package):
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
def install_plugins_package():
install("onnxruntime<=1.19.2")
install("rembg[cpu]")