Hello guys,
If someone has 2 different python versions installed in their pc
eg: Python 2 and Python 3
Which python do you want as your primary python, set that to first in environment variables in windows
1)go to start -- environment variables 2)a dialog will open up and in the bottom right corner you'll find environment variables 3)click that 4)User variables for ADMIN and System Variables 5)variable -- Path (you'll find in both) 6)if you want you can set in both or just in User variables for ADMIN 7)ok
![](https://digdeeperts.wordpress.com/wp-content/uploads/2021/03/primary_python_version.jpg?w=597)
Open a fresh terminal/cmd
below are the command lines to open different versions
py -3
py -2
![](https://digdeeperts.wordpress.com/wp-content/uploads/2021/03/diff_py_version_in_cmd.jpg?w=1024)
That is it guys for today.