Answers for "how to change the python version"

3

how to change python version on linux

#Check available versions
ls /usr/bin/python*
#Change the used version 3.5 or 3.7 etc
alias python='/usr/bin/python3.x'
#do this other thing
. ~/.bashrc
#Check version 
python --version
Posted by: Guest on August-07-2020
2

change default python version

sudo update-alternatives --config python
Posted by: Guest on December-20-2020
0

pip change python version

pip upgrade -pip
Posted by: Guest on March-17-2021
0

how to change pythoin version

conda install python=3.6
Posted by: Guest on June-08-2021

Code answers related to "how to change the python version"

Python Answers by Framework

Browse Popular Code Answers by Language