This commit is contained in:
unknown
2025-12-14 16:07:13 -08:00
parent b23146f636
commit 943dadedef

View File

@@ -579,7 +579,7 @@ class DeviceInstaller():
with tqdm(total = len(packages), desc = 'Installation 0.00%', bar_format = '{desc}: {n_fmt}/{total_fmt} ', unit = 'step') as t:
for package in tqdm(missing_packages, desc = 'Installing', unit = 'pkg'):
try:
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '--upgrade', '--no-cache-dir', '--progress-bar', 'on', '--disable-pip-version-check', package])
subprocess.check_call([sys.executable, '-m', 'pip', 'install', '--upgrade', '--no-cache-dir', '--use-pep517', '--progress-bar', 'on', '--disable-pip-version-check', package])
t.update(1)
except subprocess.CalledProcessError as e:
error = f'Failed to install {package}: {e}'