-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't load python module when Vundle installed to .vim on Windows 10 #1894
Comments
Did you try to set the |
Yes, i tried many different ways with '/' and '' but to no success. I'm sure I won't be the only one who has this problem. It may be a Vundle issue, but it wasn't obvious since the install worked for all my other plugins |
So, this is specific to YCM. That's strange. I'll need to do some tests with Vundle since I am not using it for my plugins. |
I tried to install YCM and other plugins using Vundle with the following set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/vim-vundle/bundle/Vundle.vim
call vundle#begin('~/vim-vundle/bundle')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/syntastic'
Plugin 'sirver/ultisnips'
Plugin 'Valloric/YouCompleteMe'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required and I didn't encounter any issue. All plugins were installed in |
That worked just fine. I was using the Vundle windows directions: https://github.com/VundleVim/Vundle.vim/wiki/Vundle-for-Windows |
Did a fresh install, but it is happening again, and this time I am using the posted vimrc. Premature close I guess |
Could you paste the contents of your |
set nocompatible " be iMproved, required " set the runtime path to include Vundle and initialize call vundle#begin('~/vimfiles/bundle') " let Vundle manage Vundle, required Plugin 'scrooloose/syntastic' " All of your Plugins must be added before the following line |
Also, I'm not sure it was ever working. I tried to install it the way I did before but that's not working either. When the error message went away, it was because the plugin was not being loaded at all. I only figured this out when I finally got the .ycm_extra_conf.py python script setup and it was never compiled. |
Do you see any YCM error when starting Vim and typing |
Yes, there are error messages. I will post them when I get home. (about 10 hrs) From memory, something about the Python site module cannot be loaded. |
If there is some way for me to run the python script in a debugger or something more aggressive just let me know. I'm glad to help, and thank you for all of yours! |
No need, I know about this issue. It is a bug with Python 2.7.11 on Windows. I posted some workarounds in this issue. I recommend to use Python 2.7.10 until the next version is released. |
awesome. Thank you so much. |
Worked like a charm. Thanks again |
I followed the Vundle installation guide but it put all the plugins into a .vim folder in my $HOME folder instead of in the vimfiles folder. YouCompleteMe compiled but when vim starts there is an error. Cannot load the python module.
On a guess I moved Youcompleteme vim plugin to my vimfiles/Bundles folder and removed it from Vundle, then everything works.
The text was updated successfully, but these errors were encountered: