R软件包网状结构导致连接失败

时间:2019-03-05 21:26:06

标签: python r reticulate

我尝试在R中安装python软件包,但出现以下问题

install.packages("reticulate")
library(reticulate)
py_install('umap-learn',pip = T, pip_ignore_installed = T)

> Collecting package metadata: ...working... failed
> 
> CondaHTTPError: HTTP 000 CONNECTION FAILED for url
> <https://repo.anaconda.com/pkgs/free/win-64/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/free/win-64/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

我已经更新了蟒蛇中的所有内容。

conda update conda
conda update anaconda-navigator
conda update navigator-updater

我在互联网上找不到解决方案。有人给小费吗?

0 个答案:

没有答案