I'm having troubles getting python 3 to work in my bash shell. I have installed both python2 and python3 on my PC (Windows 10). When I type python --version in the bash terminal it prints Python 2.7.13, but when I type python3 --version it prints: bash: python3: command not found. I can't find Update Shell Profile.command file as suggested in Installed python3, getting command not found error in terminal
-
Clearly something wrong with your environment variables. Are you running on windows or a *nix system?geostocker– geostocker2017-05-08 12:34:09 +00:00Commented May 8, 2017 at 12:34
-
Tried using the exact version? Like python3.5The_Coder– The_Coder2017-05-08 12:34:52 +00:00Commented May 8, 2017 at 12:34
-
I'm running it on windowsApexAdam– ApexAdam2017-05-08 12:41:41 +00:00Commented May 8, 2017 at 12:41
-
If you do not want/need python2 on path just replace the py2 routes on your path for the py3 ones. See: Setting environment variablesEndermanAPM– EndermanAPM2017-05-08 15:41:56 +00:00Commented May 8, 2017 at 15:41
Add a comment
|