安装synapser成功,但加载报错,提示没有安装python,我的电脑【window】已经安装了python3.10版本。有大佬知道怎么解决嘛
> install.packages("synapser", repos = c("http://ran.synapse.org", "http://cran.fhcrc.org"))
trying URL 'http://ran.synapse.org/bin/windows/contrib/4.2/synapser_1.1.0.119.zip'
Content type 'application/zip' length 362328 bytes (353 KB)
downloaded 353 KB
package ‘synapser’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\l\AppData\Local\Temp\RtmpIRtsmR\downloaded_packages
> library(synapser)
Error: package or namespace load failed for ‘synapser’:
.onLoad failed in loadNamespace() for 'synapser', details:
call: stop_no_virtualenv_starter(version = version, python = python)
error: Suitable Python installation for creating a venv not found.
Please install Python with one of following methods:
- https://www.python.org/downloads/
- reticulate::install_python(version = '')
|
|
|
阅读全文
收起全文