So, in python, I have:
>>> print(sys.path)
['', '/usr/lib/python35.zip',
'/usr/lib/python3.5',
'/usr/lib/python3.5/plat-x86_64-linux-gnu',
'/usr/lib/python3.5/lib-dynload',
'/home/gwynn/.local/lib/python3.5/site-packages',
'/usr/local/lib/python3.5/dist-packages',
'/usr/lib/python3/dist-packages']
It looks like the path to the python I'm using is /usr/lib/python3.5, so I used this directory, and reticulate could not find python.
> use_python("/usr/lib/python3.5", required = T)
> py_config()
sh: 1: /usr/lib/python3.5/python: not found
Error in system2(command = python, args = paste0("\"", config_script, :
error in running command
So I thought if I gave it the path ' /usr/lib' it would find python3.5, but I was mistaken.
> use_python("/usr/lib", required = T)
> py_config()
sh: 1: /usr/lib/python: not found
Error in system2(command = python, args = paste0("\"", config_script, :
error in running command
Is it possible to access python3.5 using reticulate? It seems not.
That is where all of my modules are imported, and I'd like to access them along with other coding in R.