pip upgrade library compatibility code example
Example 1: how to update pip python
python -m pip install --upgrade pip
Example 2: update every python library
(Do it in windows powershell)
pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}