Uploaded by kesan Yogarajah

python

advertisement
install python 2.7.3 from python 2.7.13
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
# Follow the prompts on the installer screens
# Close and then re-open your terminal window
A base environment should be activated, check which python version is installed, and in case you need
a different version just install it with conda and activate it:
# install
conda create --name base_python2 python=2
# or
conda create --name base_python3 python=3
# activate env
conda activate base_python2
# or
conda activate base_python3
Note: if you want to set a default python version different from the one it was stablished to be the
base env, you can add the activation line into your .bashrc.
Download