Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda installation failed with status code '1' #92

Open
cmulittlechild opened this issue Oct 6, 2024 · 8 comments
Open

conda installation failed with status code '1' #92

cmulittlechild opened this issue Oct 6, 2024 · 8 comments

Comments

@cmulittlechild
Copy link

image

I'm a bit confused, has this been trying to reinstall? I am running on a Linux server and have micromamba and microcanda. How can I solve this error

Thanks

@kevinrue
Copy link
Owner

kevinrue commented Oct 6, 2024

Am I understanding right that you are running velociraptor from within a conda environment?

I haven't done that in a while, but in that case, since velociraptor is indeed its own micromamba installation, I'm not sure how the system deals with a possible nesting of conda installations.

(I'm using 'conda' and related software interchangeably, I know we're talking about mamba and friends)

I guess I'd have to try and replicate your setup to see if I can reproduce but further information about your hardware environment (eg, laptop, HPC) would be helpful.

@LTLA
Copy link
Collaborator

LTLA commented Oct 6, 2024

FYI basilisk allows the user to define an external conda installation to avoid a double-install. Regardless, velociraptor will still build its own conda environment.

@cmulittlechild
Copy link
Author

Am I understanding right that you are running velociraptor from within a conda environment?

I haven't done that in a while, but in that case, since velociraptor is indeed its own micromamba installation, I'm not sure how the system deals with a possible nesting of conda installations.

(I'm using 'conda' and related software interchangeably, I know we're talking about mamba and friends)

I guess I'd have to try and replicate your setup to see if I can reproduce but further information about your hardware environment (eg, laptop, HPC) would be helpful.

Thanks for your reply!
I would give you my info about how i work.
Now i am working on the HPC, here is the version of the HPC.
image

And basicly, for safety, this HPC only supports singularity.
So, i am using a singularity image, like shortcake (on docker hub for single-cell), and the author of this image provides micromamba, and then i install the miniconda in this sif image by myself.
They also provide a singularity version, https://www.dropbox.com/scl/fo/lptb68dirr9wcncy77wsv/h?dl=0&e=2&rlkey=whhcaxuvxd1cz4fqoeyzy63bf, i am using shrotcake_full.3.0.0.sif.

when i follow your tutorial and run out <- scvelo(list(X=spliced, spliced=spliced, unspliced=unspliced))
it gives me an ERROR:Error in installConda(): conda installation failed with status code '1'.

So, basicly, i am using velociraptor within a singulairty environment. and i specify the micromamba env contained in the singularity.

if you need any other info, please ask me.

Thanks for your help!

@cmulittlechild
Copy link
Author

FYI basilisk allows the user to define an external conda installation to avoid a double-install. Regardless, velociraptor will still build its own conda environment.

So, you mean, even i specify a env has been installed, the basilisk would still run the installation programme to build his own one?

@kevinrue
Copy link
Owner

kevinrue commented Oct 6, 2024

Exactly, that's how we ensured exact reproducibility. We make a new environment with a fully defined set of packages and versions. Any other approach would create all sorts of complications compromising reproducibility.

@cmulittlechild
Copy link
Author

Exactly, that's how we ensured exact reproducibility. We make a new environment with a fully defined set of packages and versions. Any other approach would create all sorts of complications compromising reproducibility.

ok, may be i understand now, i think i need to do is download the installation script of miniconda3 corresponding to the basilisk requirement in the cache folder manually, and then when i run the scvelo, the function would detect he script downloaded and run smoothly, am i on the right way?

@kevinrue
Copy link
Owner

kevinrue commented Oct 6, 2024

I'm not sure I understand what you're planning to do but by all means feel free to try anything you can think of outside the documentation at your own risk. If it works feel free to let us know what you did and we can document it for others.

On our HPC where we also use singularity containers using 'apptainer', I only need a container with R installed. From there, install BiocManager and velociraptor (no conda needed) and let velociraptor do the rest. Makes sense?

@cmulittlechild
Copy link
Author

I'm not sure I understand what you're planning to do but by all means feel free to try anything you can think of outside the documentation at your own risk. If it works feel free to let us know what you did and we can document it for others.

On our HPC where we also use singularity containers using 'apptainer', I only need a container with R installed. From there, install BiocManager and velociraptor (no conda needed) and let velociraptor do the rest. Makes sense?

yes, very helpful! i would try and tell you the outcome, thanks very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants