choose specific python version within conda environment
1
0
Entering edit mode
3.1 years ago
AQ7 ▴ 30

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.8k views
ADD COMMENT
2
Entering edit mode
3.1 years ago

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
ADD COMMENT
0
Entering edit mode

it worked pefectly thanks

ADD REPLY
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 2697 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6