While working with java or python many of the times we may come across error of “command not found” while executing command in cmd, even after proper installation of the software.
For python while trying to install a package through command prompt (cmd) following error may be faced:

Fig1: Python environment variables path is not set in environment variable list
- To add or edit anything environment variables in Windows 7, go to System Properties first.
Fig2: Open system settings
Fig3: Open Systems settings
- Go to “Advanced” tab and in that open environment variables:
Fig4: Open environment variables
- Select “Path” under Variable column and press “edit” button:
Note that you have to enter variable path separated by “;”, i.e. for python 2.7 you need to add “C:\Python27\;C:\Python27\Scripts;”Fig5: Edit variable path
Install python 2.7.13 with image processing tool OpenCV.
Comments 1
Pingback: Installing Python 2.7 with OpenCV on windows for Image Processing