win10 system,
vim is downloaded from here 64-bit:
Vim 8.1.0547 applies to Windows
YouCompleteMe is installed in accordance with the ide" rel= "nofollow noreferrer" > complete installation guide on github , and all the steps are successful.
prompt after opening Vim (this error is also reported when opening Vim before compiling ycm_core):
YouCompleteMe unavailable: "utf-8" codec can"t decode byte 0xbc in position 9: i
nvalid start byte
Messages maintainer: Bram Moolenaar <Bram@vim.org>
Traceback (most recent call last):
File "<string>", line 35, in <module>
File "C:\Users\XXX\.vim\bundle\YouCompleteMe\python\ycm\base.py", line 25, in
<module>
from ycm import vimsupport
File "C:\Users\XXX\.vim\bundle\YouCompleteMe\python\ycm\vimsupport.py", line
25, in <module>
from future.utils import iterkeys
File "C:\Users\XXX\.vim\bundle\YouCompleteMe\third_party\ycmd\third_party\pyt
hon-future\src\future\utils\__init__.py", line 54, in <module>
import copy
File "E:\develop\Python37\Lib\copy.py", line 60, in <module>
from org.python.core import PyStringMap
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 963, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 906, in _find_spec
File "<frozen importlib._bootstrap_external>", line 1280, in find_spec
File "<frozen importlib._bootstrap_external>", line 1252, in _get_spec
UnicodeDecodeError: "utf-8" codec can"t decode byte 0xbc in position 9: invalid
start byte
configuration file:
set encoding=utf-8
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle-sharpbegin()
Plugin "VundleVim/Vundle.vim"
Plugin "vim-airline/vim-airline"
Plugin "mattn/emmet-vim"
Plugin "Valloric/YouCompleteMe"
call vundle-sharpend()
filetype plugin indent on
get down on your knees and ask for an answer. Thank you.