I've been struggling for 2 days to install some plugins which use python on Vim (Windows). Even with a stock vimrc.
:echo has('python')
prints 1
as expected.:python print 'test'
, vim quits, just as if I've typed :q
:python mum tell me, why does windows exists?
, it quits as well. Wondering why... Not a print
issue at least.Used libraries: Perl 5.22.1, Python 2.7.10, Python 3.4.3, Ruby 2.2.3, Lua 5.3.0, Tcl 8.6.4, libXpm.
Great! That's the verison I've downloaded (2.7.10) ! Wait...
:echo has('python')
prints 1
as expected.Sorry, this command is disabled, the Python's site module could not be loaded.
Windows isn't good enough. Oh, and merry christmas!
I tried to use x64's python binary, taking care of removing the x86 version from my Path variable. Same issue as above.
Same issue as above.
Windows.
I'm not that lazy, well, yes I am... but I'll try to compile it if there isn't any other workaround. I don't really want to compile it if it won't solve anything. If only I could at least understand why these issues happen...
All right, I managed to solve the issue.
For those who may be interested, the intended python version was Python 2.7.9 and not 2.7.10. Installing Python 2.7.9 x86 (and x64) fixed everything for the corresponding vim version.