{"action":"created","issue":{"url":"https://api.github.com/repos/vim/vim/issues/526","labels_url":"https://api.github.com/repos/vim/vim/issues/526/labels{/name}","comments_url":"https://api.github.com/repos/vim/vim/issues/526/comments","events_url":"https://api.github.com/repos/vim/vim/issues/526/events","html_url":"https://github.com/vim/vim/issues/526","id":121802445,"number":526,"title":"VIM and Python with Windows","user":{"login":"zQueal","id":239193,"avatar_url":"https://avatars.githubusercontent.com/u/239193?v=3","gravatar_id":"","url":"https://api.github.com/users/zQueal","html_url":"https://github.com/zQueal","followers_url":"https://api.github.com/users/zQueal/followers","following_url":"https://api.github.com/users/zQueal/following{/other_user}","gists_url":"https://api.github.com/users/zQueal/gists{/gist_id}","starred_url":"https://api.github.com/users/zQueal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zQueal/subscriptions","organizations_url":"https://api.github.com/users/zQueal/orgs","repos_url":"https://api.github.com/users/zQueal/repos","events_url":"https://api.github.com/users/zQueal/events{/privacy}","received_events_url":"https://api.github.com/users/zQueal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-11T22:13:50Z","updated_at":"2015-12-14T15:48:40Z","closed_at":"2015-12-14T15:48:40Z","body":"I have `Python 2.7.10 x64` installed along with `Vim 7.4 x64` compiled with both `+python/dyn` and `+python3/dyn` support.\r\n\r\n    VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 11 2015 11:37:42)\r\n    MS-Windows 64-bit console version\r\n    Included patches: 1-965\r\n    Compiled by veegee@veegee-win8\r\n    Huge version without GUI.  Features included (+) or not (-):\r\n    +acl             +eval            +mouse           +syntax\r\n    +arabic          +ex_extra        -mouseshape      +tag_binary\r\n    +autocmd         +extra_search    +multi_byte      +tag_old_static\r\n    -balloon_eval    +farsi           +multi_lang      -tag_any_white\r\n    -browse          +file_in_path    -mzscheme        -tcl\r\n    ++builtin_terms  +find_in_path    -netbeans_intg   -tgetent\r\n    +byte_offset     +float           +path_extra      -termresponse\r\n    +cindent         +folding         -perl            +textobjects\r\n    +clientserver    -footer          +persistent_undo +title\r\n    +clipboard       +gettext/dyn     -postscript      -toolbar\r\n    +cmdline_compl   -hangul_input    +printer         +user_commands\r\n    +cmdline_hist    +iconv/dyn       +profile         +vertsplit\r\n    +cmdline_info    +insert_expand   +python/dyn      +virtualedit\r\n    +comments        +jumplist        +python3/dyn     +visual\r\n    +conceal         +keymap          +quickfix        +visualextra\r\n    +cryptv          +langmap         +reltime         +viminfo\r\n    +cscope          +libcall         +rightleft       +vreplace\r\n    +cursorbind      +linebreak       -ruby            +wildignore\r\n    +cursorshape     +lispindent      +scrollbind      +wildmenu\r\n    +dialog_con      +listcmds        +signs           +windows\r\n    +diff            +localmap        +smartindent     +writebackup\r\n    +digraphs        +lua/dyn         -sniff           -xfontset\r\n    -dnd             +menu            +startuptime     -xim\r\n    -ebcdic          +mksession       +statusline      -xterm_save\r\n    +emacs_tags      +modify_fname    -sun_workshop    -xpm_w32\r\n\r\nWhile running Vim `:echo has('python')` returns `1`.\r\n\r\nI was able to get it working long enough to install a __single__ plugin with `Plug` which _requires_ Python support. After changing nothing, it's now no longer working.\r\n\r\nAdditionally, I can clean plugins just fine:\r\n\r\n    1 Searching for unused plugins in C:\\Users\\zqueal\\.vim\\plugged\r\n    2 [=====]                                                              \r\n    3                                                                      \r\n    4 Already clean.\r\n\r\nThis would leave me to believe that it's at least working intermittently. However, when running `:python import sys; print(sys.version)` I get:\r\n \r\n    E887: Sorry, this command is disabled, the Python's site module could not be loaded.\r\n\r\nAnyone able to help me out, here?\r\n\r\n----------------------------\r\n\r\nFearing this was an issue with x64, I opted to reinstall both Vim and Python27 for 32-bit. A new error is surfacing:\r\n\r\n    E121: Undefined variable: pyv\r\n\r\nMy `vimrc` has no `let g:` in it as `E121` would suggest."},"comment":{"url":"https://api.github.com/repos/vim/vim/issues/comments/164472539","html_url":"https://github.com/vim/vim/issues/526#issuecomment-164472539","issue_url":"https://api.github.com/repos/vim/vim/issues/526","id":164472539,"user":{"login":"zQueal","id":239193,"avatar_url":"https://avatars.githubusercontent.com/u/239193?v=3","gravatar_id":"","url":"https://api.github.com/users/zQueal","html_url":"https://github.com/zQueal","followers_url":"https://api.github.com/users/zQueal/followers","following_url":"https://api.github.com/users/zQueal/following{/other_user}","gists_url":"https://api.github.com/users/zQueal/gists{/gist_id}","starred_url":"https://api.github.com/users/zQueal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zQueal/subscriptions","organizations_url":"https://api.github.com/users/zQueal/orgs","repos_url":"https://api.github.com/users/zQueal/repos","events_url":"https://api.github.com/users/zQueal/events{/privacy}","received_events_url":"https://api.github.com/users/zQueal/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T15:48:40Z","updated_at":"2015-12-14T15:48:40Z","body":"> I confirmed that vim + python-2.7.11 doesn't work. And vim + python-2.7.10 does work.\r\n\r\nThis was it! Thanks for the help, gentlemen. "}}