mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 22:40:04 +08:00
1.2 KiB
1.2 KiB
title | categories | description | comments | commentsID |
---|---|---|---|---|
Install vim/neovim with python support | blog | How to build vim or neovim from source with python enabled? | true | Install neovim or vim |
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
.
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
.