Reticulate crashes on py_config() or repl_python()

I'm on R 4.0.5, RStudio 1.4.1717 and Mac Catalina 10.15.7. I installed miniconda3 in the typical directory, "/opt/miniconda3/bin/python". The python version is 3.9.1. Then I added the following line to my .Rprofile file: Sys.setenv(RETICULATE_PYTHON = "/opt/miniconda3/bin/python"). I've also made sure the reticulate package is up to date.

I can't get anything to work. A simple reticulate::py_config() causes R to crash (I also tried reticulate::repl_python() - same result). I'm not sure what else to do, it seems I have a pretty simple setup and I'm trying to run very simple code. Does anyone have any ideas?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.