I am facing some build errors in building Neovim from source in Debian (MxLinux). I tried the package installer and was able to install Neovim, but it is an older version. So, I installed all dependencies as mentioned on the wiki https://github.com/neovim/neovim/wiki/Building-Neovim#build-prerequisite
The ninja
and cmake
among dependencies I installed from pip3 with the --user
option, to avail a more updated version than the apt
repository.
The sudo make install
ran into error first
cmake -G 'Unix Makefiles' \
$HOME/neovim//third-party
/bin/sh: 2: cmake: not found
So, I installed the cmake
from apt
. The error ceased but a new error crept in
Traceback (most recent call last):
File "$HOME/.local/bin/ninja", line 5, in <module>
from ninja import ninja
ModuleNotFoundError: No module named 'ninja'
I have ninja-build
installed from apt
. I also have ninja
from pip3 at the $PATH.