Last active
February 2, 2021 18:10
-
-
Save leifdenby/13348bd84a835f1dc4a0b32a14f379f2 to your computer and use it in GitHub Desktop.
Building vim with python3 support against conda python (into ~/.local)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create a conda environment with python3 and activate it | |
git clone https://github.com/vim/vim | |
cd vim | |
./configure --with-features=huge --enable-python3interp=dynamic --prefix=$HOME/.local | |
# add the following lines to ~/.vimrc, changing `py36` do your env name and possible the python version in `libpython3.7m.so` | |
# | |
# set pythonthreedll=$HOME/anaconda2/envs/py37/lib/libpython3.7m.so | |
# set pythonthreehome=$HOME/anaconda2/envs/py37/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment