Skip to content

Add pip upgrade to our getting started instructions

Hugh Brown requested to merge mention-pip-upgrade into master

Older pip versions have been at the heart of a lot of problems recently (see #146 (closed) for an example); this adds an explicit step to upgrade it.

This also removes the --use-feature=2020-resolver instruction, as this is being deprecated:

(.venv) ✔ /tmp/venv-test 
20:07 $ pip install --upgrade pip
Collecting pip
  Using cached pip-21.0.1-py3-none-any.whl (1.5 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.2.2
    Uninstalling pip-20.2.2:
      Successfully uninstalled pip-20.2.2
Successfully installed pip-21.0.1
(.venv) ✔ /tmp/venv-test 
20:07 $ pip install --use-feature=2020-resolver polaris-ml
WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default 
dependency resolver in pip. This will become an error in pip 21.0.

Signed-off-by: Hugh Brown (Saint Aardvark the Carpeted) aardvark@saintaardvarkthecarpeted.com

Edited by Hugh Brown

Merge request reports