I was trying to install pyodbc driver for sqlserver, but faced below error .
C:\Users\******\AppData\Local\Programs\Python\Python37-32\Scripts>pip install pyodbc
Requirement already satisfied: pyodbc in c:\users\******\appdata\local\programs\python\python37-32\lib\site-packages (4.0.25)
You are using pip version 18.1, however version 20.3.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
C:\Users\******\AppData\Local\Programs\Python\Python37-32\Scripts>python -m pip install --upgrade pip
'python' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\******\AppData\Local\Programs\Python\Python37-32\Scripts>cd ..
C:\Users\******\AppData\Local\Programs\Python\Python37-32>python -m pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/54/eb/4a3642e971f404d69d4f6fa3885559d67562801b99d7592487f1ecc4e017/pip-20.3.3-py2.py3-none-any.whl (1.5MB)
100% |████████████████████████████████| 1.5MB 1.5MB/s
Installing collected packages: pip
Found existing installation: pip 18.1
Uninstalling pip-18.1:
Successfully uninstalled pip-18.1
Successfully installed pip-20.3.3
C:\Users\******\AppData\Local\Programs\Python\Python37-32>
Solution : You can upgrade PIP version, as command automatically suggested by the system.
It can be upgrade by using command "python -m pip install --upgrade pip", you might face error while installating this. Only need to take care we need to change the path on CMD where python.exe exists on file system