Python 3.11 is now the latest feature release series of Python 3.
Note: The release you're looking at is Python 3.9.16, a security bugfix release for the legacy 3.9 series. 6, 2022 This is a security release of Python 3.9 Similarly, if you type repl_python() in your console, you will notice that when it expecting Python code, you will see > rather than >, you can go back to R by typing exit. It is important to remember that objects that are loaded into the Python environment will not show up in your RStudio environment window. You can use the Insert option in the top right corner of the RStudio editor window and select the Python option. To run Python code, chunks should be named python rather than r. # NOTE: Python version was forced by use_python function # numpy: C:/Users/alhdz/miniconda3/Lib/site-packages/numpy # libpython: C:/Users/alhdz/miniconda3/python39.dll Py_config() # python: C:/Users/alhdz/miniconda3/python.exe Let’s check which version of python we are using. Use_python("C:/Users/alhdz/miniconda3", required = T)
Then we load the Python interpreter for our R session. Now let’s load reticulate and find the version of Python we want to use.