I try to get python support in gvim on windows to work with the help of this binary distribution.
First I got the error python27.dll could not be located
, what I successfully fixed by copying python27.dll
to the vim74
directory.
Although :echo has('python')
returns 1 now, if I try to execute :py print(1)
I get this error:
Sorry, this command is disabled, the Pythons's site module could not be loaded
I just don't understand what Vim is trying to tell me by that and what the problem is.
I'm using vim 7.4.1817 64bit
with +python/dyn
& +python3/dyn
and python 2.7.9 64bit
(the newer python 2.7.11 64bit
produces the same behaviour)