Reputation: 1
I want to create an environment with python version 3.6.
I was following this: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-python.html
When I do conda search python
I see all the versions including 3.6
But, when I do conda create -n py36 python=3.6 anaconda
it takes forever to run so I ended up interrupting.
When I do conda create -n py36 python=3.6
and then check the version(after activating the environment), it is 2.7.16.
The problem is not specific to trying to create an environment with 3.6 but any version. They all end up being 2.7.16
Upvotes: 0
Views: 153
Reputation: 997
Creating env : conda create -n py36 python=3.6 anaconda
Activating your env: conda activate py36
Checking your version inside your env: python --version
EDIT:
To check all envs created by conda: conda env list
Your global python version might be 2.7.16.
Upvotes: 1