jingshuw / SAVERX

R package for transfer learning of single-cell RNA-seq denoising
29 stars 9 forks source link

Error: ModuleNotFoundError: No module named 'sctransfer' #29

Open tinachen34 opened 1 year ago

tinachen34 commented 1 year ago

I'm encountering the error Error: ModuleNotFoundError: No module named 'sctransfer' whenever I try to run saverx. I tried the solution in #15, but it also didn't work for me. I can see the sctransfer module in Users/tina/Library/Python/3.7/lib/python/sitepackages, but from py_config() I can see that the python being used is /Users/tina/Library/r-miniconda/envs/r-reticulate/bin/python. I tried to set the python path used using these commands

path_to_python <- "Users/tina/Library/Python/3.7"
use_python(path_to_python)

but it hasn't worked for me. Would greatly appreciate any advice on how to get around this, thanks!