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

can not install this three plugin for example : 'Valloric/YouCompleteMe #35

Open
nmww opened this issue Jun 19, 2018 · 3 comments
Open
Assignees
Labels

Comments

@nmww
Copy link

nmww commented Jun 19, 2018

default

  Plugin 'klen/python-mode'             |~                                      
  Plugin 'scrooloose/syntastic'`

can not install this three plugin
for example  :  'Valloric/YouCompleteMe 
@rmk135 rmk135 self-assigned this Jun 19, 2018
@rmk135
Copy link
Member

rmk135 commented Jun 19, 2018

Hi @nmww ,

What kind of error do you get? Can you, please, make :messages and post its output?

@wj-Mcat
Copy link

wj-Mcat commented Aug 22, 2020

@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

@cydanil
Copy link
Contributor

cydanil commented Jan 20, 2021

It seems that your vim uses Python2 instead of the expected Python3.

Here's a post on an issue with more details:
#39 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants