Saturday, June 4, 2016

Vim python compile with python 2.7.11 fails to load module

Hi,

I've just linked vim 7.4 1859 with python feature after deploying python 2.7.11 distri.

IM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 4 2016 23:50:30)
MS-Windows 64-bit GUI version with OLE support
Included patches: 1-1859
Compiled by marsupilami@DESKTOP-NPML03D
Big version with GUI. Features included (+) or not (-):
+acl +clipboard +dialog_con_gui +farsi +job +menu +packages +reltime +tag_binary +toolbar +windows
+arabic +cmdline_compl +diff +file_in_path +jumplist +mksession +path_extra +rightleft +tag_old_static +user_commands +writebackup
+autocmd +cmdline_hist +digraphs +find_in_path +keymap +modify_fname -perl -ruby -tag_any_white +vertsplit -xfontset
+balloon_eval +cmdline_info -directx +float +langmap +mouse +persistent_undo +scrollbind -tcl +virtualedit -xim
+browse +comments -dnd +folding +libcall +mouseshape -postscript +signs -termguicolors +visual -xterm_save
++builtin_terms +conceal -ebcdic -footer +linebreak +multi_byte +printer +smartindent -tgetent +visualextra -xpm_w32
+byte_offset +cryptv +emacs_tags +gettext/dyn +lispindent +multi_lang -profile +startuptime -termresponse +viminfo
+channel -cscope +eval -hangul_input +listcmds -mzscheme +python/dyn +statusline +textobjects +vreplace
+cindent +cursorbind +ex_extra +iconv/dyn +localmap -netbeans_intg -python3 -sun_workshop +timers +wildignore
+clientserver +cursorshape +extra_search +insert_expand +lua/dyn +ole +quickfix +syntax +title +wildmenu
system vimrc file: "$VIM\vimrc"
user vimrc file: "$HOME\_vimrc"
2nd user vimrc file: "$HOME\vimfiles\vimrc"
3rd user vimrc file: "$VIM\_vimrc"
user exrc file: "$HOME\_exrc"
2nd user exrc file: "$VIM\_exrc"
system gvimrc file: "$VIM\gvimrc"
user gvimrc file: "$HOME\_gvimrc"
2nd user gvimrc file: "$HOME\vimfiles\gvimrc"
3rd user gvimrc file: "$VIM\_gvimrc"
system menu file: "$VIMRUNTIME\menu.vim"
Compilation: cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DFEAT_JOB_CHANNEL -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /Fo.\ObjGOUYAMD64/ /Ox /GL -DNDEBUG /Zl /MT -DFEAT_OLE -
DFEAT_MBYTE -DFEAT_GUI_W32 -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua53.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -D
FEAT_BIG /Fd.\ObjGOUYAMD64/ /Zi
Linking: link /RELEASE /nologo /subsystem:windows /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib uuid.lib /machine:AMD64 gdi32.lib version.
lib winspool.lib comctl32.lib advapi32.lib shell32.lib /machine:AMD64 libcmt.lib oleaut32.lib user32.lib /nodefaultlib:lua53.lib /nodefaultlib:python27.lib WSock32.lib /PDB:gvim.
pdb -debug

When I try :py print 2**0.5 it echoes :
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 4 2016 23:50:30)
E887: Sorry, this command is disabled, the Python's site module could not be loaded.


--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: