This post covers how to add Python 2.7 and Python 3.x to system environment variable path to fix python is not recognized as an internal or external command on Windows 7, 8, 8.1 and 10 as well.

Python 2.7 – Python is not recognized

If you are using python 2.7.x and you are getting error ‘Python is not recognized as an internal or external command; please watch this video to fix it.

Python 3.7 – Python is not recognized as an internal or external command

If you are using python 3.8.x and you are getting error ‘Python is not recognized as an internal or external command; please watch this video to fix it.

If you are getting this error on your Windows 7/8/10, then you need to add python to the system environment variable path.

Install Latest Version of Python with Chocolatey on Windows

If you want to save time from install latest version of Python on your Windows Desktop or Server. You should consider using Chocolatey to install, update and set software to system’s path with choco command.

Make sure you have installed Chocolatey. To install and add Python to system variable path run the following command.

Launch your command prompt with admin rights.

choco install python -y

Related Posts…

  1. Deploy Python Django on cPanel
  2. Django 3 Tutorial – Create a Blogging App
  3. Install Django 3 on Windows 10
  4. Install Django on Ubuntu