Specify python3 in the README

If the user has both python 2 and 3, and 2 is the configured alternative, the instructions will fail with missing headers. This change makes it clear that python3 is needed for this step (because a previous step installed python3-dev.)
This commit is contained in:
Steve Meredith 2019-05-02 09:27:42 -07:00 committed by GitHub
parent d691404ae2
commit c86dc9a977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -292,13 +292,13 @@ Compiling YCM **with** semantic support for C-family languages through
**libclang**: **libclang**:
cd ~/.vim/bundle/YouCompleteMe cd ~/.vim/bundle/YouCompleteMe
./install.py --clang-completer python3 install.py --clang-completer
Compiling YCM **with** semantic support for C-family languages through Compiling YCM **with** semantic support for C-family languages through
**experimental clangd**: **experimental clangd**:
cd ~/.vim/bundle/YouCompleteMe cd ~/.vim/bundle/YouCompleteMe
./install.py --clangd-completer python3 install.py --clangd-completer
Note that you can install YCM with both **libclang** and **clangd** enabled. In Note that you can install YCM with both **libclang** and **clangd** enabled. In
that case **clangd** will be preferred unless you have the following in your that case **clangd** will be preferred unless you have the following in your