如何使用 Reticulate 识别 Conda 以安装 SpacyR

问题描述 投票:0回答:0

我正在尝试在装有 R 3.6.1 的 Windows 10 机器上安装 spacyr。和 Visual Studio Community 2019。

尝试 spacy_install() 时出现此错误:

“错误:Conda 安装失败(找不到 conda 二进制文件)

为 Windows 安装 Anaconda 3.x (https://www.anaconda.com/download/#windows) 在安装 spaCy 之前”

我已经安装了 Miniconda3 4.7.12,失败后我安装了 Anaconda3 2019.10(Python 3.7.4 64 位)。

查看 https://github.com/quanteda/spacyr/blob/master/R/spacy_install.R 中的代码

我尝试了 reticulate::py_versions_windows() 并且我得到:

type hive install_path executable_path version arch

1 PythonCore HCU C:\Users\user\ANACON~1 C:\User
r spacy quanteda
© www.soinside.com 2019 - 2024. All rights reserved.