install a different python in a conda environment code example
Example 1: anaconda create environment python version
conda create -n myenv python=3.6
Example 2: conda create environment python 3
conda create -n [env-name] python
conda create -n myenv python=3.6
conda create -n [env-name] python