If +python3 is shown in the output of :vesion which means that Python3 is statically linked with vim, does Python3 need to exist to use py3 inside vim?
1 Answer
If +python3 is shown in the output of :vesion which means that Python3 is statically linked with vim,
It doesn't. It means vim was compiled with Python3 support but the interpreter library (libpython.so) is linked dynamically.
does Python3 need to exist to use py3 inside vim?
Yes, and vim must know the path to Python as vim needs to find the interpreter library libpython.so. Also vim (well, Python) needs some parts of the standard Python library.
1 Comment
Jingguo Yao
Thanks, could you please tell me what is the difference between
python3 option and python3/dyn option? @phd