0

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 1

2

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, could you please tell me what is the difference between python3 option and python3/dyn option? @phd

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.