Monday 5 October 2020

Mengatasi Error SSL Ketika Install Package Dengan Anaconda di Windows

mengatasi kesalahan ssl ketika install package dengan conda di windows - Ketika pertama kali install package ataupun mengakses situs anaconda dengan perintah di cmd, seringkali terjadi error. Kesalahan ini terjadi dikarenakan komputer kita diblokir oleh situs anaconda karena tidak ada SSL. Berikut ini pesan errornya:


Collecting package metadata (current_repodata.json): failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_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.

If your current network has https://www.anaconda.com blocked, please file

a support request with your network engineering team.

SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/main/win-64/current_repodata.json (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))


Solusinya adalah kita harus menginstall penyedia SSL di komputer. Salah satu yang terpopuler adalah Open SSL.

Silahkan download dan install melalui link dibawah.

Download OpenSSL for Windows

Setelah itu, jalankan ulang perintah conda. Package berhasil diakses!

0 komentar

Post a Comment

Hai, Mohon Komentar Yang Relevan Dan Tidak OOT!