prolabrus
prolabrus

Reputation: 1

Installation of package '.../audio.whisper_0.2.1.tar.gz' has a non-zero exit status

Good afternoon everyone!

I am trying to install audio.whisper package in R. I have done everything according to the instructions:

remotes::install_github("bnosac/audio.whisper", ref = "0.2.1")

I got an error, because remotes library was not installed, so I installed it. When running remotes::install_github("bnosac/audio.whisper", ref = "0.2.1") I get an error: Installation of package '.../audio.whisper_0.2.1.tar.gz' has non-zero exit status: enter image description here

Next, I follow the recommendation and install Rtools and the pkgbuild library: enter image description here enter image description here Even if on the notification that there are newer versions of packages, I choose to update everything - the result is the same: enter image description here

Can you tell me what I'm doing wrong, or if I'm doing everything right, what's missing and what needs to be installed? My goal is to transcribe audio into text.

UPDATE: Following the advice I restarted RStudio after installing Rtools - it worked, audio.whisper was installed. But even here it did not do without problems - it seems to be installed, but it refuses to load the model:

> remotes::install_github("bnosac/audio.whisper", ref = "0.2.1")
Skipping install of 'audio.whisper' from a github remote, the SHA1 (ee508e82) has not changed since last install.
  Use `force = TRUE` to force installation
> require(audio.whisper)
Загрузка требуемого пакета: audio.whisper
> help(package = "audio.whisper")
> library(audio.whisper)
> model <- whisper("large")
trying URL 'https://huggingface.co/datasets/ggerganov/whisper.cpp/resolve/main/ggml-large.bin'
Something went wrong
Error in utils::download.file(url = url, destfile = to, mode = "wb") : 
  cannot open URL 'https://huggingface.co/datasets/ggerganov/whisper.cpp/resolve/main/ggml-large.bin'

whisper_init_from_file: loading model from 'E:/Документы/ggml-large.bin'
whisper_init_from_file: failed to open 'E:/Документы/ggml-large.bin'
> 

Thank you in advance for your help!

Upvotes: 0

Views: 116

Answers (0)

Related Questions