Open nmww opened 6 years ago
Hi @nmww ,
What kind of error do you get? Can you, please, make :messages
and post its output?
@rmk135 I install by the setup.py file, it occurs error:
Traceback (most recent call last):
File "<string>", line 27, in <module>
File "/home/users/wujingjing/.vim/bundle/YouCompleteMe/python/ycm/base.py", line 18, in <module>
from ycm import vimsupport
File "/home/users/wujingjing/.vim/bundle/YouCompleteMe/python/ycm/vimsupport.py", line 184
f"bufnr('{ EscapeForVim( os.path.realpath( filename ) ) }', "
^
SyntaxError: invalid syntax
It seems that your vim uses Python2 instead of the expected Python3.
Here's a post on an issue with more details: https://github.com/ets-labs/python-vimrc/issues/39#issuecomment-607429122