0

im trying to confirm that I've succesfuly downloaded python, yet after the installation was finished (Everything seems okay, all files etc are there) my cmd wont recognize it, and will return me a message saying that Python is not recognized as batch file,operable program and so on. Why does this happen? I write "python" in the cmd as my Python Tutorial book says . Im also trying to run 2.7 python. Thanks for the help!

csnoob
  • 97
  • 9
  • 1
    Assuming you are on windows, can you do this: `echo %PATH%` please and add the output to your question. – ZeissS Nov 04 '15 at 14:55
  • http://prntscr.com/8yy8uy , Before validating that Python is in my enviroment path, yet the same output appears after i wrote "set PYTHONPATH=%PYTHONPATH%;C:\My_python_lib " in my cmd. – csnoob Nov 04 '15 at 14:59
  • `PYTHONPATH` really has nothing to do with this specific problem. –  Nov 04 '15 at 15:09

2 Answers2

0

Quick fix: Check 'Add python.exe to path' while installing it. Here's where this option is.

Mayur Bhangale
  • 396
  • 1
  • 4
  • 17
0

During installation (In the last step) there is a radio button asking if you want to add python into a system path so that you can access it from cmd. Check that button and everything will be fine. Check this

Community
  • 1
  • 1
H Neb
  • 25
  • 5