Skip to content
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

windows startup problem. #1836

Closed
Matrix-Zhang opened this issue Dec 15, 2015 · 4 comments
Closed

windows startup problem. #1836

Matrix-Zhang opened this issue Dec 15, 2015 · 4 comments

Comments

@Matrix-Zhang
Copy link

i follow the Readme.md to install under windows 10, and everything seems be ok.

when the gvim startup, the errors are:

Error detected while processing C:\Program Files\Vim\vim74\bundle\YouCompleteMe
autoload\youcompleteme.vim:
line 699:
E887: Sorry, this command is disabled, the Python's site module could not be loa
ded.

how to fix ? thanks....

@micbou
Copy link
Collaborator

micbou commented Dec 15, 2015

This is not specific to YCM but any Vim plugins using Python 2.7.11 on Windows. I reported the issue to the Vim official repository. See vim/vim#532. Until the issue is resolved, could you try the previous version of python (python 2.7.10)? It should work fine.

@micbou
Copy link
Collaborator

micbou commented Dec 16, 2015

In fact, this is an issue with the official Python 2.7.11 installer. See the bug report. Three ways to fix this:

  • set the environment variable PYTHONHOME to the Python path (C:\Python27 by default);
  • change the registry key:
HKLM\Software\Python\PythonCore\2.7

to

HKLM\Software\Python\PythonCore\2.7-32
  • use the Python 2.7.10 installer.

I am closing because this is not an issue with YCM.

@micbou micbou closed this as completed Dec 16, 2015
@Matrix-Zhang
Copy link
Author

i have tried....
3ks

@mevans845
Copy link

Make sure you are running (if using VIM 64, Python 64) basically make sure the architecture matches

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants