I installed Python 3.5 (tried with both 32- and 64-bit versions), but my Vim is unable to recognize the version.
Apparently I would have to recompile the whole Vim to work with any other version than Python 3.2.
Here are some of the errors I'm receiving, all of them basically leading up to Could not load library python32.dll, which I don't have because I'm using python35.dll.
This might not be a bug for you guys, but it's 2015 and every other text editor I've ever used automatically recognizes and can run any Python version I have installed.
I personally think it would be about time for Vim to upgrade its system a little, so it wouldn't be necessary for an everyday user to learn how to compile Vim and change its Python version.
If there's something I've missed, please elaborate, I'm just a beginner with Vim. But if this is the case and no change is going to be made, I feel like Vim is not too friendly for Python developers, and I will have to revert to an other editor. Which would be unfortunate, because Vim seems like an awesome text editor, but some of its features are still from 1990. Just my opinion.
—
Reply to this email directly or view it on GitHub.![]()
I installed Python 3.5 (tried with both 32- and 64-bit versions), but my Vim is unable to recognize the version.
Apparently I would have to recompile the whole Vim to work with any other version than Python 3.2.
Here are some of the errors I'm receiving, all of them basically leading up toCould not load library python32.dll, which I don't have because I'm usingpython35.dll.This might not be a bug for you guys, but it's 2015 and every other text editor I've ever used automatically recognizes and can run any Python version I have installed.
I personally think it would be about time for Vim to upgrade its system a little, so it wouldn't be necessary for an everyday user to learn how to compile Vim and change its Python version.
If there's something I've missed, please elaborate, I'm just a beginner with Vim. But if this is the case and no change is going to be made, I feel like Vim is not too friendly for Python developers, and I will have to revert to an other editor. Which would be unfortunate, because Vim seems like an awesome text editor, but some of its features are still from 1990. Just my opinion.
—
Reply to this email directly or view it on GitHub.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Almost all editors afaik... Sublime, Emacs, Komodo Edit, even Notepad++. Sure most of them need some configurations, but usually it's just pointing the editor to your Python.exe or something similar.
I believe when you say that C API is the fastest way, but I can use Python just fine with all other editors without having to worry about too much. If I have to recompile the whole text editor just to change my Python version, it's not really intuitive and I'm not going to stick around with that editor for too long, regardless of how fast something is. You wouldn't drive a fast car with no wheel.
I am havin the same pleblem now. I have installed python27 (64 bit) and python35 (32 bit) in my computer, and they both work well. Recently, I start to use VIM. However, I unintentionally installed VIM 32 bit, and here came the tragedy: VIM 32 bit is NEITHER compatible with python27 64 bit which is now obvious, NOR with python35 32 bit since VIM seems to search python34.lib by default.
being frustrated......
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub![]()
you should be able to compile vim against python3.5 That should work then.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub![]()
anyway, I think this issue can be closed
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub![]()
However, if the executable installer is used, the installer tries to find python34.lib by default. There seems to be no way of customizing it. :(
Still not smooth with open sources....
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub![]()
While I don't expect Vim to become an easy-to-use text editor for beginners or anything, the current Python support simply isn't enough for a standard coder. Vim doesn't support multiple Python versions, so you have to compile multiple versions of Vim. And every time you update your Python, you must recompile Vim. Other editors simply do Python better.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub![]()
Well, I don't disagree with you. But please note that Vim can actually support python2X and python3X at the same time. I am still messing around with it.
No matter what you use, good luck !
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub![]()
@Weiming-Hu as I know vim can not use python2 and python3 at same time,it is different with neovim.
neovim use local python as executale.
so I have two ways to manager my neovim's python interface
let g:python_host_prog = '/usr/bin/python2.7' let g:python3_host_prog = '/usr/bin/python3.5'
and
let g:python_host_prog = '/usr/bin/python2.7' let g:python3_host_prog = '/usr/bin/python3.4'
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub![]()
To support multiple python versions, we need to change if_python drastically.
The linked python version is fixed at compile time, because the API of
pythonXX.dll will be changed between different versions.
Currently, (g)vim.exe is linked to pythonXX.dll directly, so we cannot support
automatic version detection. E.g.:
gvim.exe -+- python27.dll
|
`- python34.dll
To support automatic version detection, maybe we need different if_python DLL
for each version of python DLL. E.g.:
gvim.exe -+- if_py26.dll -- python26.dll
|- if_py27.dll -- python27.dll
|
|- if_py33.dll -- python33.dll
|- if_py34.dll -- python34.dll
`- if_py35.dll -- python35.dll
(I don't know how the other editors work around this.)
Vim can actually support python2X and python3X at the same time.
It doesn't mean Vim can easily support python 3.4 and 3.5 at the same time.
They are totally different things.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub![]()
@k-takata Thank you for your comment. It is indeed what I mean. The linked python version is linked at compile time.
And could you, or anybody else, please help me with this? Below is part of the prints after I run :version in my vim.

Vim says it has suppport of python and python3.** I know I am using a 32 bit vim, and 64 bit python/python3, which aren't compatible.** Then, if I run :python print(1), I am supposed to get error like "unable to link ***.dll". However, my vim just crush and quit....... Anybody has an idea?
Thank you!
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub![]()
https://groups.google.com/d/msg/vim_dev/bg1MWfZfPAg/-PB3RXUSAwAJ explains the issue.
@Weiming-Hu looks like your Vim tried to load a wrong python dll, leading to a segfault. This is known to happen, when you compile your own vim with a different compiler than the python version, e.g. mingw versus visual studio.
I am closing this now.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub![]()
Closed #419.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub![]()