79591578

Date: 2025-04-24 23:30:18
Score: 3.5
Natty:
Report link

When you first included reticulate, did you get a pop-up saying it couldn't detect a Python installation and asking you if you wanted to install one? If you selected yes, it may be pointing at that default installation.

I usually run the following commands to set up my Python environment for the first time:

library(reticulate)
version <- ">=3.10"
install_python(version)
virtualenv_create("my-environment", version = version)
use_virtualenv("my-environment")

Then in subsequent R sessions:

library(reticulate)
use_virtualenv("my-environment")
Reasons:
  • RegEx Blacklisted phrase (3): did you get a
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: frandude