‘python’ is not recognized as an internal or external command, operable program or batch file.

when trying to access python from command line- we might get an error when we use – ‘python’. Use ‘py’ instead of ‘python’

C:\Users\tekjedi>python
‘python’ is not recognized as an internal or external command,
operable program or batch file.

C:\Users\tekjedi>python
Python 3.1(v……] on win32

if you are still getting error then check “environment variables”. You need to add python installed folder path at environment variables.
if your python install path is : C:\Programs\Python\Python37-32 then go to control panel, systems–> Advanced system settings –> Advanced tab –> Environment variables –> System Variables –> Path edit –> at variable name enter your python installation path with “;” i.e. “;C:\Programs\Python\Python37-32;” . hit ok.

Key words for search:
python-is-not-recognized-as-an-internal-or-external-command

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s