How to solve this error while installing python modules in RStudio?

I gave the following command

library(reticulate)
py_install("pandas")

I am getting an error while installing python modules in RStudio :

Solving environment: ...working... failed

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

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/noarch/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))
Error: Error 1 occurred creating conda environment r-reticulate

Please help in resolving this error.
Many Thanks in advance.

This seems like a connectivity issue, is your internet connection behind a proxy server or a firewall? Does the same happens when you try to install python packages from anaconda itself?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.