python in power shell | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

python in power shell

when i type python --version it gives me an error. same thing happened when i type python <filename>.py

6th Feb 2018, 6:40 AM
Ader
Ader - avatar
2 Answers
+ 1
If it gives an error like "...command not found", it means you don't have Python installed on your machine. Install Python and try again.
6th Feb 2018, 7:47 AM
Deepesh Choudhary
Deepesh Choudhary - avatar
+ 1
or maybe you did not set the enviroment variables
6th Feb 2018, 11:39 AM
capsloth
capsloth - avatar