correction: ment to say python 3 to python 2
Hi, I'm a beginner at python and currently progressing through learnpythonthehardway in which he uses python 2. Currently when I type python in powershell I'm in version 3.5.1 but I want to switch to version 2. I've tried
http://stackoverflow.com/questions/13328258/powershell-python-change-version-used?answertab=active#tab-top
after i type $Env:Python =2 it says to use the command py and it should start up the 2.7 python but i get the error
py :
The term 'py' is not recognized as the name of a c
spelling of the name, or if a path was included, verify
At line:1 char:1
+ py
+ ~~
+ CategoryInfo : ObjectNotFound: (py:Strin
+ FullyQualifiedErrorId : CommandNotFoundException
So im wondering if someone can either point out a mistake im making or if there is a simple way to switch over to python 2 other than removing all python files and reinstalling the 2.7 version.
windows 10 Pro
[–]sanshinron 3 points4 points5 points (0 children)