diff options
author | Aru Sahni <aru@arusahni.net> | 2021-04-14 14:48:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 20:48:13 +0200 |
commit | d9c7adc64c291f1a368c1417354332f72bdb66d6 (patch) | |
tree | 8c42cceb1ab65ce08cf0a0b374b458e1b567929b /runtime/doc | |
parent | 6ab4c8f955ad6aca85c7a5d6faa192d9b14abd71 (diff) | |
download | rneovim-d9c7adc64c291f1a368c1417354332f72bdb66d6.tar.gz rneovim-d9c7adc64c291f1a368c1417354332f72bdb66d6.tar.bz2 rneovim-d9c7adc64c291f1a368c1417354332f72bdb66d6.zip |
doc: prefer "python -m pip" (#14353)
The current guidance for install Python packages is to use
python -m pip install <package_name>
Instead of
pip install <package_name>
This ensures that one is using the version of pip that is tied to the
environment's interpreter (and, thusly, its packages). This has [been
endorsed by a core
maintainer](https://snarky.ca/why-you-should-use-python-m-pip/) as
being the recommended way to invoke pip.
As there currently are a few places where the old invocation was used,
attempt to bring them in line.
Fixes #14234
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/provider.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/provider.txt b/runtime/doc/provider.txt index f944689d0b..be895f9e4e 100644 --- a/runtime/doc/provider.txt +++ b/runtime/doc/provider.txt @@ -88,7 +88,7 @@ Example using pyenv: > pyenv install 3.4.4 pyenv virtualenv 3.4.4 py3nvim pyenv activate py3nvim - pip install pynvim + python3 -m pip install pynvim pyenv which python # Note the path The last command reports the interpreter path, add it to your init.vim: > let g:python3_host_prog = '/path/to/py3nvim/bin/python' |