1. Anaconda Promptが必要なパッケージをインストールすると、次のエラーが発生します。
清華の画像も使用したことがわかりますが、それでも失敗し、繰り返し失敗します。何をすべきか?
conda install absl-py
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch/repodata.json>
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.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'mirrors.tuna.tsinghua.edu.cn\', port=443): Max retries exceeded with url: /anaconda/pkgs/free/noarch/repodata.json (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'ssl3_get_server_certificate\', \'certificate verify failed\')],)",),))',),)
2.上記の繰り返しの失敗の問題に対して、究極の解決策に到達し、方法を直接与えます。
2.1最初に、図に示すように、Cドライブで独自の.condarcファイルを検索します。
2.2このファイルを開き、次の内容に変更します。
ssl_verify: true
show_channel_urls: true
channels:
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64/
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/
図に示すように:
最後に、Anaconda Promptに戻ってダウンロードすると、ダウンロードが非常に高速であることがわかります。!
わかった!