I have downloaded the python tar and extracted locally in linux ubuntu /app folder, When I configure this python using the R reticulate I get the error message
" Error: Python shared library not found, Python bindings not loaded.
Use reticulate::install_miniconda() if you'd like to install a Miniconda Python environment."
Here is the code I am running on R
> Python_Script_version<<-paste0("/app/bin/Python-3.9.1")
> Sys.setenv(RETICULATE_PYTHON= Python_Script_version)
> reticulate ::use_python(Python_Script_version, required = TRUE)
> Sys.which("python")
python
"/app/bin/Python-3.9.1/python"
> library(reticulate)
> py_config()
Error in py_config() : could not find function "py_config"
> reticulate::py_config()
Error: Python shared library not found, Python bindings not loaded.
Use reticulate::install_miniconda() if you'd like to install a Miniconda Python environment.
Thank you for your time and response.
question from:
https://stackoverflow.com/questions/65935995/reticulate-python-not-recognizing-local-python-error-python-shared-library-no 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…