Open AMCalejandro opened 2 years ago
It looks like this is happening because echoconda
is unable to find your conda binary. It uses this to find a valid python executable that it can use to run various PolyFun functions. So I think this is actually the issue, rather than PolyFun itself not being installed.
Are you on an HPC or your local computer? Could you provide your full conda env path?
As a side note, PolyFun itself is not currently available as a package, only as a collection of python scripts distributed by cloning the polyfun github repo. I've tried to automate cloning the polyfun repo with echofinemap::POLYFUN_install()
whenever users call functions that require PolyFun.
Thi was within the MAGMA.Celltyping docker container, and I am not specifying the conda env, so it should be using echor_mini
Re echofinemap::POLYFUN_install() Yes, I got it installed within the docker container
Thi was within the MAGMA.Celltyping docker container, and I am not specifying the conda env, so it should be using echor_mini
Well it's trying to use conda to create "echoR_mini", but it can't find the conda binary to do so. Thus the error message:
Unable to find conda binary. Is Anaconda installed?
Will try to replicate this in a new container
In case this is useful https://cran.r-project.org/web/packages/reticulate/vignettes/versions.html
Also, I just noticed conda is not even installed in MAGMA.Celltyping docker container I am not sure if this is expected, and this is all managed by echoconda? With a container, do not we want to substitute the creation of a conda env? I understand this will change when echolocatoR has its own container
Also, I just noticed conda is not even installed in MAGMA.Celltyping docker container I am not sure if this is expected, and this is all managed by echoconda? With a container, do not we want to substitute the creation of a conda env? I understand this will change when echolocatoR has its own container
Yes, that's expected. basilisk
or reticulate
are used to automatically install miniconda if conda is not already available.
In case this is useful https://cran.r-project.org/web/packages/reticulate/vignettes/versions.html
Yup, this is reticulate
, which is one of the main packages that echoconda
uses under the hood. But sometimes reticulate
can't find the conda binary. Will assess whether that's the source of the issue in this instance.
just got this running
Note that Polyfun susie does not get to run as it is missing the environment Also note the software is installed
Code
Output
Session Info