Yared Terefe
Yared Terefe

Reputation: 93

manually download pytorch and feed downloaded path to anaconda

I tried to conda install pytorch ... but it doesn't even start and gives me

("Connection broken: ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)", ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))

I'm thinking to download the necessary file manually(safe download even if internet is slow) and then set it to anaconda so that installs directly from downloaded file instead of downloading it self

Upvotes: 2

Views: 5665

Answers (1)

asymptote
asymptote

Reputation: 1402

This can be done by downloading pip wheels for torch, torchvision and torchaudio etc. and doing pip installation for local wheels. Suitable Pytorch wheels can be downloaded from here. Now, you can simply pip install the downloaded whl files:

pip install file.whl

Here file.whl is the downloaded wheel.

Upvotes: 2

Related Questions