Comments (5)
Seems like you don't have python support compiled in for your version of vim.
from yavide.
It appears that for Ubuntu 17.04 Zesty, apt install vim-gtk
installs vim without python support, only with python3 support.
Even with python2 support, this issue persists:
I tried to solve this problem by first uninstalling vim (DANGER: take note of any files, such as your vimrc, which may be lost.). To be sure everything is uninstalled:
sudo apt-get remove *vim*
Caution: this may match some non-vim packages.
And then, compiling ViM from source:
cd /tmp && git clone https://github.com/vim/vim.git && cd vim
./configure --enable-pythoninterp --prefix=/usr
make && sudo make install
Now, when I run vim --version
, the list of features shows:
...
+python # <--- this is what we were lacking
-python3
...
from yavide.
Yes, it is crucial that gvim
is compiled with python2
support otherwise it will not work (most source code in yavide
is python2
). Some distros decide to distribute and compile gvim
with python3
support only, some others compile it with python2
only and the rest compile it with both python2
& python3
support. This is where the things start tearing apart.
What people can do to fix this problem is to install required dependencies in order to get gvim
with python2
support. Hopefully someone will make a pull-request as well to fix the installation script.
from yavide.
I am on Mint 18.3 which should based on Ubuntu 16.04. I encountered the same issue on startup. My solution is: After installation, I change the yavide.desktop to use vim.gnome-py2 -g to launch yavide. Because I am using python 3 as my default python. So, before installation, I also change the "PIP_INSTALL_CMD" in install.sh to "pip2 install".
from yavide.
Thanks for reporting the solution back.
from yavide.
Related Issues (20)
- Error when executing: "function Y_Env_Init[2]..Y_ServerStart" HOT 8
- Debian issues with libclang HOT 15
- vim-gnome on Debian buster links with python3 HOT 3
- Is it plan to include some kind of debugging tool? HOT 1
- using neovim as base? HOT 2
- how to use it with gdb, keymap for no-gui HOT 1
- Unable to start Yavide HOT 14
- Getting started documentation required HOT 2
- Add support for colorized parentheses HOT 1
- Could not build project by shortcut HOT 1
- Very strange behavior with autocomplete HOT 6
- Python clang binding not functioning correctly in line 8 of clang_parser.py. (clang_complete not working) HOT 1
- Aborting while importing a project HOT 2
- Add highlight for some cpp keywords
- Errors on startup and while typing HOT 4
- Feature Request: Implement 'Open call hierarchy'
- Installation on fedora 29 HOT 1
- chown cannot access destop not a directory, Elementary OS HOT 2
- Failing to run yavide
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 yavide.