Skip to content

Commit 5d3602f

Browse files
agunapalchauhang
andauthored
use index-url instead of extra-index-url (#2971)
Co-authored-by: Geeta Chauhan <[email protected]>
1 parent 85e4e0f commit 5d3602f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ts_scripts/install_dependencies.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def install_python_packages(self, cuda_version, requirements_file_path, nightly)
131131
if nightly:
132132
pt_nightly = "cpu" if not cuda_version else cuda_version
133133
os.system(
134-
f"pip3 install numpy --pre torch torchvision torchtext torchaudio --force-reinstall --extra-index-url https://download.pytorch.org/whl/nightly/{pt_nightly}"
134+
f"pip3 install numpy --pre torch torchvision torchtext torchaudio --force-reinstall --index-url https://download.pytorch.org/whl/nightly/{pt_nightly}"
135135
)
136136
else:
137137
self.install_torch_packages(cuda_version)

0 commit comments

Comments
 (0)