This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to install both Miniconda2 and Miniconda3 side-by-side

Hello,

I've successfully installed miniconda2 and used it. I've also successfully installed and used miniconda3. I installed miniconda3 after I installed miniconda2.

However, when now try to activate a minoconda2 env by using:

$ conda activate myenv

I am not able to active any of the miniconda2 envs. How do I specify which miniconda (2 vs 3) to activate when using the conda activate command?

Thanks!

miniconda2 miniconda3 ubuntu 18.04

Hello andorjkiss!

We believe that this post does not fit the main topic of this site.

This is not a bioinformatics question. Please search/ask StackOverflow

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

Just as a hint, it would be easier to install only miniconda3 and then, for tools that require python2, simply make a separate environment doing something like conda create --name "envPy2" python=2.7. This gives you full access to python2 while you don't have to fiddle with two separate installations which probably is going to be a pain.

0 answers

No answers yet.

Log in to answer this question.