尽管正确安装了 Rtools,但仍无法在 RStudio 中从 GitHub 安装“audio.whisper”包

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

问题描述:我尝试使用命令remotes::install_github("bnosac/audio.whisper")在RStudio中从GitHub安装audio.whisper包,但我收到一条错误消息,上面写着“Could”找不到编译包所需的工具”。

R版本:R版本4.3.3(2024-02-29 ucrt)

Rtools版本:我已经安装了Rtools 4.4(如路径C:\Rtools44\usr所示)。

错误消息:我收到的确切错误消息是“找不到编译包所需的工具”。

代码:

options(repos = c(CRAN = "https://cloud.r-project.org/"))
install.packages("remotes")
install.packages("av")
remotes::install_github("bnosac/audio.whisper")

已尝试的步骤:我尝试使用 Sys.setenv() 将 Rtools 的路径添加到 R 中的 PATH 变量中,并且通过检查 Sys.getenv("PATH") 确认 Rtools 的路径包含在您的 PATH 中。我已尝试重新安装 Rtools 并重新启动 RStudio,但这些步骤都没有解决问题。

openai-whisper rtools remotes
1个回答
0
投票

不兼容: R版本:R版本4.3.3(2024-02-29 ucrt) Rtools版本:Rtools 4.4(如路径C:\Rtools44\usr中所示)。

© www.soinside.com 2019 - 2024. All rights reserved.