This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Beginner problem: install python3.7.12 but py_available() still return FALSE

Hello! I'm a beginner in bioinformatics. I met a problem after I installed python3.7.12 by https://www.python.org/ftp/python/3.7.12/Python-3.7.12.tgz.

#R
> library("reticulate")
> use_python("/path/to/python3.7")
> py_available()
[1] FALSE
> 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.

My R version is 4.1.1, python version is 3.7.12, linux server is Ubuntu.

Thanks in advance!

add: I've followed the error message and use "reticulate::install_miniconda()" but the problem still existed...

linux python r

1 answer

Follow the error message. Allow reticulate to handle the python environment itself.

I forget to tell that I have followed the error message but this problem still existed...

Please do not delete the post after it has received feedback.

I see! Thanks for your reminder!

Anyway, thanks your reply!

I finally understand what you mean! I paid too much attention on the second sentence but ignored the error information. Thanks a lot!

Log in to answer this question.