Beginner problem: install python3.7.12 but py_available() still return FALSE
1
0
Entering edit mode
3.2 years ago
zau saa ▴ 150

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.9k views
ADD COMMENT
3
Entering edit mode
3.2 years ago

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

ADD COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

I see! Thanks for your reminder!

ADD REPLY
0
Entering edit mode

Anyway, thanks your reply!

ADD REPLY
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 2832 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6