Comments (3)
@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
from python-vimrc.
Hi @nmww ,
What kind of error do you get? Can you, please, make :messages
and post its output?
from python-vimrc.
It seems that your vim uses Python2 instead of the expected Python3.
Here's a post on an issue with more details:
#39 (comment)
from python-vimrc.
Related Issues (20)
- Change source of airline plugin
- Keybindings to run a program HOT 6
- Font issue on Mac OS X El Capitan HOT 3
- autocompletion plugin: Jedi-Vim vs. YouCompleteMe HOT 6
- omnicomplete still in .vimrc HOT 2
- Changing color of default red 'set colorcolumn=80' HOT 1
- Assessment of VIMRC
- The Red Line in Right side of the terminal. HOT 4
- Syntax highlighting HOT 6
- E855: Autocommands caused command to abort HOT 10
- pymode_doc_key name changed to pymode_doc_bind in 0.7.8b HOT 3
- Calling tagbar#autoopen(0) on line 129 causes errors when editing python files HOT 5
- Cannot close only one tab when opening several files HOT 2
- I have this issue of missing right(left) triangle on the highlighted filename HOT 4
- syntax error when using f"string {my_var}" HOT 6
- Python files returns error HOT 4
- Error after opening a python file in vim HOT 1
- Please update this repo. Fails on new Ubuntu 22.04 install with errors. HOT 3
- impractical for users who already have a vimrc and are just looking for python specific configuration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-vimrc.