On Tue, Apr 7, 2015 at 3:38 AM, David Fishburn <[email protected]>
wrote:

> :echo has('perl') has('python') has('python3')
> 1 1 0
>
> :python print 'anything'
> E887: Sorry, this command is disabled, the Python's site module could not
> be loaded.
>
>
>
> I have found only 1 reference to this error in vim_use or vim_dev:
>
>
> https://groups.google.com/forum/#!searchin/vim_dev/the$20Python$27s$20site$20module$20could$20not$20be$20loaded/vim_dev/d4Iz0vdPJ48/HZzSJ-fVTOcJ
>
> Which is this:
>
> Patch 7.4.380
> Problem:    Loading python may cause Vim to exit.
> Solution:   Avoid loading the "site" module. (Taro Muraoka)
> Files:            src/if_python.c
>
>
> Does anyone know what I might be doing wrong?
>

Check result of "where python27.dll" in command prompt.
I guess that Mercurial's python27.dll is found before Python's python27.dll.

-- 
Yukihiro Nakadaira - [email protected]

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui