I tried to install PyTorch today on a new machine. Got errors on install.
When I tried to go to download-r2.pytorch.org , im getting “SSL:SSLV3_ALERT_HANDSHAKE_FAILURE”. Even tried to bypass the error in Firefox, but wont even permit bypassing.
I tried to install PyTorch today on a new machine. Got errors on install.
When I tried to go to download-r2.pytorch.org , im getting “SSL:SSLV3_ALERT_HANDSHAKE_FAILURE”. Even tried to bypass the error in Firefox, but wont even permit bypassing.
I see the same failure.
➜ uv pip install -r requirements.txt
Using Python 3.13.13 environment at: ...
⠼ torch==2.11.0+cu129
error: Request failed after 3 retries in 4.3s
Caused by: Failed to fetch: `https://download-r2.pytorch.org/whl/cu129/torchaudio-2.11.0%2Bcu129-cp313-cp313-manylinux_2_28_x86_64.whl.metadata`
Caused by: error sending request for url (https://download-r2.pytorch.org/whl/cu129/torchaudio-2.11.0%2Bcu129-cp313-cp313-manylinux_2_28_x86_64.whl.metadata)
Caused by: client error (Connect)
Caused by: received fatal alert: HandshakeFailure
What’s the plain pip install command you are trying to use? I just tried to install the latest nightly and it worked fine for me.
Should be fixed now: https://download-r2.pytorch.org/ down · Issue #189056 · pytorch/pytorch · GitHub
I am installing from a requirements.txt uv pip compiled from pyproject.toml
[project]
dependencies = [
# "vllm==0.24.0" # <== This is built for CUDA 13
"vllm @ https://github.com/vllm-project/vllm/releases/download/v0.24.0/vllm-0.24.0+cu129-cp38-abi3-manylinux_2_28_x86_64.whl"
]
requires-python = "~= 3.13.0"
[tool.uv.pip]
torch-backend = "cu129"
So the interesting deps are:
torch==2.11.0+cu129
torchaudio==2.11.0+cu129
torchvision==0.26.0+cu129
Thanks for the update on a fix
I had the same error earlier today in my daily CI run that installs pytorch nightly (only the nightly version was affected), and on my side the bug seems now fixed!
If that GitHub issue doesn’t work out, try the main pytorch.org mirrors instead of r2. Sometimes one CDN just gets flaky while the other’s solid.