pip not recognized on cmd code example
Example 1: 'pip' is not recognized as an internal or external command, operable program or batch file.
py -m pip install [packagename]
Example 2: 'pip' is not recognized as an internal or external command, operable program or batch file.
$ python -m pip --version
pip X.Y.Z from .../site-packages/pip (python X.Y)
Example 3: pip not working in command prompt
Make sure pip is added to the PATH variable