From fc5737fbd0d6f45e00414e0fe9c58f203b3bd9e8 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 9 Jul 2024 17:03:01 +0100 Subject: [PATCH] Find the true URL even if another env has cached it --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index b629300c9..6ba43003a 100644 --- a/setup.py +++ b/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: