unable to import scanpy after install miniconda

I installed miniconda in D:/irls-miniconda, after that I tried to import scanpy but faile, hope someone can help me fix that, Thanks a lot!
'''

library(reticulate)
library(devtools)
载入需要的程辑包:usethis
library(usethis)
options(timeout = max(300, getOption("timeout")))
options(internet.info=0)
options(download.file.method = "libcurl")
Sys.setenv(RETICULATE_AUTOCONFIGURE='FALSE',

  •        RETICULATE_MINICONDA_PATH="D:/islr-miniconda")
    

miniconda_path()
[1] "D:/islr-miniconda"
install_miniconda(path = miniconda_path(), update = TRUE, force = FALSE)
Error: Miniconda is already installed at "D:/islr-miniconda"
sc <- import("scanpy", convert = FALSE)
Error in py_module_import(module, convert = convert) :
ModuleNotFoundError: No module named 'scanpy'

Detailed traceback:
File "D:\R-4.1.2\library\reticulate\python\rpytools\loader.py", line 44, in _import_hook
level=level
''''

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.