mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 13:25:00 +00:00
Find the true URL even if another env has cached it
This commit is contained in:
parent
e307be1a9c
commit
fc5737fbd0
1 changed files with 3 additions and 3 deletions
6
setup.py
6
setup.py
|
@ -30,13 +30,13 @@ def get_requirements():
|
|||
torch,
|
||||
"--no-deps",
|
||||
"--dry-run",
|
||||
# "--no-cache-dir",
|
||||
# "--dest",
|
||||
# temp_dir,
|
||||
"--no-cache-dir", # Find the true URL even if another env has cached it
|
||||
"--index-url",
|
||||
"https://download.pytorch.org/whl/cpu",
|
||||
]
|
||||
|
||||
# print(' '.join(cmd))
|
||||
|
||||
try:
|
||||
process = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True)
|
||||
for line in process.stdout:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue