This is a test version of Biostars. For the public version, visit https://www.biostars.org.
choose specific python version within conda environment

Hello everyone,

I am currently working in a conda environment where there python=3.7 is used but I have several script in a pipeline (not written by me) that run only with python3.6. Is there a way to indicate to the system to use, only when a specific conda environment is activate, to use within this environment only python 3.6. I do not want to create another conda environment, just to change the on I have already created. Thanks a lot

conda python

1 answer

You probably can't have more than one python installed in the same environment (and I wouldn't recommend it anyway). If you don't want to create another environment, and if you are fine with switching to python 3.6 completely in that current environment, you can downgrade it with:

conda install -n <environment name> python=3.6

it worked pefectly thanks

If an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted. You can accept more than one answer if they all work. If an answer was not really helpful or did not work, provide detailed feedback so others know not to use that answer.

Upvote|Bookmark|Accept

Log in to answer this question.