Skip to content

Commit f5d1522

Browse files
committed
fixing run_pip for uv
1 parent e40aed6 commit f5d1522

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎modules/launch_utils.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ def run_pip(command, desc=None, live=default_command_live):
140140
if "ENABLE_UV" not in os.environ:
141141
return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
142142
else:
143-
return run(f'uv pip {command} --prefer-binary{index_url_line} --no-cache-dir', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
143+
return run(f'uv pip {command}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live)
144+
144145

145146
def check_run_python(code: str) -> bool:
146147
result = subprocess.run([python, "-c", code], capture_output=True, shell=False)

0 commit comments

Comments
 (0)