mirror of
https://github.com/DrewThomasson/ebook2audiobook.git
synced 2026-01-09 13:58:14 -05:00
...
This commit is contained in:
@@ -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}'
|
||||
|
||||
Reference in New Issue
Block a user