Vim compiled with Python support but can't see sys version

后端 未结 1 595
南方客
南方客 2020-12-30 06:57

I compiled the development version of Vim with both Python 2 and Python 3 support. The output of vim --version has +python/dyn and +python3/d

相关标签:
1条回答
  • 2020-12-30 07:12

    I had a similar issue on my Debian box. If you're using a Debian-based system, you will not be able to load both Python libraries simultaneously. That's why when you set --enable-python-interp and --enable-python3-interp they always load with the /dyn suffix.

    If your vim plugins don't need both versions, you should just pick one of the versions and stick with it. The links below provide more info.

    Explained by Debian maintainer

    Vim Python Support

    P.S. - In case you tried this on Windows as well, loading either Python version will work, so the /dyn isn't an issue there.

    0 讨论(0)
提交回复
热议问题