<目次>
(1) CondaHTTPError: HTTP 000 CONNECTION FAILED for url XXXXエラーの対処方法
(1-1) 事象概要とエラーメッセージ
(1-2) 原因
(1-3) 対処①
(1-4) 対処②【非推奨】
(1-5) 対処③
(1) CondaHTTPError: HTTP 000 CONNECTION FAILED for url XXXXエラーの対処方法
(1-1) 事象概要とエラーメッセージ
> conda install pytorch torchvision torchaudio cpuonly -c pytorch
Collecting package metadata (current_repodata.json): failed CondaHTTPError: HTTP 000 CONNECTION FAILED for url 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. 'https://conda.anaconda.org/pytorch/win-64'
(1-2) 原因
(1-3) 対処①
[ご自身のAnaocndaパス]\Library\bin
・②「libssl-1_1-x64.*」に該当するファイルを全て下記のように移動します。
●確認
Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: C:\dev\Anaconda added / updated specs: - cpuonly - pytorch - torchaudio - torchvision The following packages will be downloaded: package | build ---------------------------|----------------- conda-4.11.0 | py39haa95532_0 14.4 MB cpuonly-2.0 | 0 2 KB pytorch libuv-1.40.0 | he774522_0 255 KB pytorch-1.10.2 | py3.9_cpu_0 193.3 MB pytorch pytorch-mutex-1.0 | cpu 3 KB pytorch torchaudio-0.10.2 | py39_cpu 2.1 MB pytorch torchvision-0.11.3 | py39_cpu 7.2 MB pytorch ------------------------------------------------------------ Total: 217.3 MB The following NEW packages will be INSTALLED: cpuonly pytorch/noarch::cpuonly-2.0-0 libuv pkgs/main/win-64::libuv-1.40.0-he774522_0 pytorch pytorch/win-64::pytorch-1.10.2-py3.9_cpu_0 pytorch-mutex pytorch/noarch::pytorch-mutex-1.0-cpu torchaudio pytorch/win-64::torchaudio-0.10.2-py39_cpu torchvision pytorch/win-64::torchvision-0.11.3-py39_cpu The following packages will be UPDATED: conda 4.10.3-py39haa95532_0 --> 4.11.0-py39haa95532_0
(1-4) 対処②【非推奨】
(1-5) 対処③
C:\[ご自身のAnaocndaパス]\Scripts C:\[ご自身のAnaocndaパス]\ C:\[ご自身のAnaocndaパス]\Library\bin