Make sure homebrew is all up to date.
Make sure you have venv working, I think it just comes with python3.
Start a brand new RStudio project and open it in RStudio.
In the terminal:
python -m venv .venv
source .venv/bin/activate
In the terminal but make sure to copy the output:
which python
In the terminal:
brew install mecab
python -m pip install mecab-python3
python -m pip install TTS
In R:
Sys.setenv(RETICULATE_PYTHON = "[path result of which python]")
library(reticulate)
tts <- import("TTS.api")
tts$TTS$list_models()[1:5]
πππ