2015年4月8日水曜日 15時20分43秒 UTC+2 David Fishburn:
> On Tue, Apr 7, 2015 at 4:51 PM, Ben Fritz <[email protected]> wrote:
> One sanity check, from within Vim, make sure your python paths match what you 
> expect from your earlier test in your shell:
> 
> 
> 
>     :!where python27.dll
> 
> 
> 
> Next step, maybe install a more recent python?
> 
> 
> 
> Yours just shows "Python 2.7" whereas mine (which has been working fine for a 
> long time) shows "Python 2.7.6". I think the 2.7.x series is supposed to 
> maintain backwards compatibility with any other 2.7.x version, unlike Python 
> 3.
> 
> 
> 
> 
> 
> 
> 
> I have it working now, Ben your suggestion of updating my 2.7 version seems 
> to have worked.  I upgraded to 2.7.9.
> 
> 
> 
> I had some incorrect information above:
> 
> 
> On 64-bit Windows, 32-bit DLLs are installed in C:\Windows\SysWOW64, not 
> C:\Windows\System32
> 
> 
> 
> C:\Windows\SysWOW64\python27.dll
> 
> Shows a file version of: 2.7.9150.1013
> Shows a product version of: 2.7.9
> 
> 
> I recompiled my Vim just in case:
> 
> 
> 
> :ver
> VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr  8 2015 09:09:46)
> MS-Windows 32-bit GUI version with OLE support
> Included patches: 1-691
> 
> 
> :python print 'anything'
> anything
> 
> 
> 
> :echo has('perl') has('python') has('python3')
> 1 1 0
> 
> 
> 
> 
> 
> Thanks everyone for the responses, much appreciated.
> 
> 
> David

Hi David,

Installing last vim7.4.1901 from Git and Python 2.7.11 it seems that 
python27.dll is now installed in c:\windows\system32

When I echo has("python") it says 1 : OK

When I try python print "hello" it put your error title post :
E887: Sorry, this command is disabled, the Python's site module could not be 
loaded.

I've found this thread that talk about no compatibility between Vim7.4 and 
python 2.7.11. It works with python 2.7.10.

Have you got some advice ? Thank you
Best Regards

-- 
-- 
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