Masalah Instalasi Pytorch

Masalah Instalasi Pytorch

Perintah untuk instalasi pytorch:

conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch

Permasalahan:

Downloading and Extracting Packages
pytorch-1.10.0       | 1.45 GB   | ######################################################1                      |  71%

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/pytorch/win-64/pytorch-1.10.0-py3.9_cuda11.3_cudnn8_0.tar.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

Penyebab

  • Download file pytorch terlalu lambat, sehingga conda mengalami timeout

Solusi:

Ubah timeout, dengan perintah “conda config --set remote_read_timeout_secs new_time_out , atau

Download file besar secara manual menggunakan wget

Referensi

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *