mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 19:24:59 +00:00
handle failed install of hf-embed
This commit is contained in:
parent
ea89ca6eb5
commit
504a72b5cb
2 changed files with 14 additions and 7 deletions
|
@ -190,6 +190,8 @@ def pip_install(args):
|
|||
cmd += args
|
||||
|
||||
try:
|
||||
subprocess.run(cmd)
|
||||
res = subprocess.run(cmd)
|
||||
except subprocess.CalledProcessError as e:
|
||||
print(f"Error running pip download: {e}")
|
||||
|
||||
return res.returncode == 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue