'Issue installing spacyr on R 4.2

I am having trouble installing spacyr on R version 4.2. What is strange is that I've used this package in the past just fine. The installation is pretty basic. Per their site you do the following:

install.packages("spacyr")
library("spacyr")
spacy_install()

However, when I run spacy_install() I get the error: Error: one or more Python packages failed to install [error code 1] with the traceback:

5.
stop(sprintf(fmt, ...), call. = call.)
4.
stopf(fmt, result)
3.
reticulate::conda_install(envname, packages, pip = pip, conda = conda)
2.
process_spacy_installation_conda(conda, version, lang_models, 
python_version, prompt, envname = envname, pip = pip)
1.
spacy_install()

I've tried uninstalling and reinstalling spacyr.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source