Hi everyone! I'm trying to use my existing installation of Python 3.11 with RStudio on Windows 11. I've set this up before in Linux without issues, but in Windows it doesn't recognize the filepath I give Global Options nor in the console. Can anyone point out what I should be doing? Thanks!
I get the filepath to the python executable this way:
import os
import sys
os.path.dirname(sys.executable)
'C:\\File\\Path\\Here'
And then try to connect to it through reticulate
:
library(reticulate)
use_python("C:/File/Path/Here/python3.11.exe")
Error in use_python("C:/File/Path/Here/python3.11.exe") :
Specified version of python 'C:/File/Path/Here/python3.11.exe' does not exist.