Im trying to switch between python versions 3.6.6
and 3.7.0
in windows. I tried py -3.6.6
and doesn't work. Looked for options in py -h
, found none. I saw a couple of answers for switching between python versions 2.x
and 3.x
by adding #!python3
at the start of the file.
I'm able to switch between these by moving path variables up and down but I want to know if there is a option to switch between versions in cmd
like there is brew switch python version
in IOS.
Thank you.