0

I am 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 doesn't recognize it, and returns 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. I am also trying to run Python 2.7.

STerliakov
  • 4,983
  • 3
  • 15
  • 37
csnoob
  • 97
  • 1
  • 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

1

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

Mayur Bhangale
  • 405
  • 1
  • 5
  • 19
1

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
  • 35
  • 8