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:
- To add or edit anything environment variables in Windows 7, go to System Properties first.
- Go to “Advanced” tab and in that 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;”
Install python 2.7.13 with image processing tool OpenCV.