I'm using python 3.6.4 and 2.5.17 windows 10 and when I try to run any code, it only runs using version 2.7.15 I've tried to add to the first line of my code:
#! python3
or
#! python2
and nothing happened and I also tried to use
py -the number of versions
i have this output:
'py' is not recognized as an internal or external command,
operable program or batch file.
and if I wanna download anything using pip
or pip3
command for python 3.6.4
it only installs it for python 2.7.15.
I've checked the environment variables I have python 2.7.15 and 3.6.4 included
Can anyone one help me?
edit:
i have the py launcher installed on my PC :
and when i try to run it :
and python files are included in the system variables
and the python 3.6.4 directory only contain thous files :
so what i have to do to run two versins of python now ?? and how to run scripts in atom ?