Python doesn’t switch between different each environments in Anaconda.

Python doesn’t switch between different each environments in Anaconda.

1

Hi all.

I had used Python version for diffrent purpose.
I just checked Python version in each environment, and same Python version had worked.
Even if I created an environment in diffrent version of Python, same version is working.

##example1
$ conda create -n py36 python=3.6
$ conda activate py36
$ python --version
Python 3.6.11

##example2
$ conda create -n py27 python=2.7
$ conda activate py27
$ python --version
Python 3.6.11

##example3
$ conda create -n py38 python=3.8
$ conda activate py38
$ python --version
Python 3.6.11

I had been able to use it before, so I don’t know why the problem is occured.
After checking with “conda list -n”, it seems that the python download was successful.
If you know of a solution, could you please tell me it?

Thank you very musch for your help in advance!


Anaconda


Python

• 49 views

updated 1 hour ago by

54k

written 2 hours ago by

▴

50

Read more here: Source link