mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 22:30:04 +08:00
1.3 KiB
1.3 KiB
title | description | comments | commentsID |
---|---|---|---|
Install vim/neovim with python support | How to build vim or neovim from source with python enabled? | true | Install neovim or vim |
Quick start guide >> Install Vim/Neovim with Python support
This artical will tell you how to install vim and neovim, and how to enable +python3
support.
Install Neovim
Windows
On Windows, the easiest way to install Neovim is to download
Neovim.zip
from neovim release page. and extract it into C:\Neovim
. You can also add C:\Neovim\bin
to your PATH
.
You can also use scoop to install neovim.
scoop install neovim
Linux
You can install neovim or vim with default package manager.
Ubuntu
sudo apt install neovim
Arch Linux
sudo pacman -S neovim
Enable python3 support
First of all, you need to install python3. and set the env PYTHON3_HOST_PROG
to the path of python. for example:
C:\Python39\python.exe
.
Install pynvim
, run python -m pip install pynvim
.