Comments (17)
Please attach the whole log. Something is not right with installing the Python dependencies.
from yavide.
ok . I have to do it once again
from yavide.
Have you solved this problem? I have the same one.
from yavide.
It's Python dependency missing. I can't really tell more without more information. I haven't got Debian system running here.
Can you try running apt get install python-dev
and let me know if it works out for you? This is dependency which should be installed by the install.sh
script but something may have gone wrong.
from yavide.
I have install python-dev and also tried to reinstall pip. But it still does not work.
from yavide.
Can you try installing python3-dev
package?
from yavide.
Yes, I have install python3-dev.
Building dependency tree
Reading state information... Done
python3-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
By the way, I tried to install "clang watchdog" manually. But it failed.
#pip2 install "clang watchdog"
Invalid requirement: 'clang watchdog'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 82, in init
req = Requirement(req)
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/packaging/requirements.py", line 96, in init
requirement_string[e.loc:e.loc + 8]))
InvalidRequirement: Invalid requirement, parse error at "'watchdog'"
from yavide.
Correct syntax should be pip2 install clang watchdog
. You have extra ""
there.
from yavide.
$ pip2 install clang watchdog
Requirement already satisfied: clang in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: watchdog in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: PyYAML>=3.10 in /usr/local/lib/python2.7/dist-packages (from watchdog)
Requirement already satisfied: argh>=0.24.1 in /usr/local/lib/python2.7/dist-packages (from watchdog)
Requirement already satisfied: pathtools>=0.1.1 in /usr/local/lib/python2.7/dist-packages (from watchdog)
I tried it again, and it still does not work.
from yavide.
In any case I didn't see clang
/watchdog
failure in the log but only the one related to libyaml-dev
. Can you please try running apt-get install libyaml-dev
?
from yavide.
I have installed libyaml-dev. By the way, is it possilbe that some of libs are very old?
sudo apt-get install libyaml-dev
[sudo] password for peter:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libyaml-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
from yavide.
As far as I understood your implementation works only with a vim version supporting python 2.x, correct?
Are there any plans to support vim compiled with '-python +python3'?
from yavide.
Hm, having python3
support should not break anything as long as there is python2
support compiled in as well. However, using python3
interpreter only would not work as project is python 2.x
based. I am not sure I will be porting the code to new Python version. Probably not.
from yavide.
That's my problem, my installed vim (8.0.x) only supports python3 and not python 2.x. I use Ubuntu 14.04 LTS due to other requirements. I haven't found any pre-compiled binaries of vim supporting python 2.x and GUI for this target platform.
Which vim version do you use and did you get it? Can you provide any link or the parameters for the configure command to build vim from scratch in order to use your great setup?
from yavide.
First of all, Yavide
requires gvim
so what you should be really looking is if your gvim
has been compiled with python2
support or not. This is a limitation mostly due to the clientserver
feature which most distributions do not include in plain vim
. There are numerous instructions on the web how to compile vim from the sources but I would advise to have a try with something from this stackoverflow answer. Read the comments as well.
from yavide.
I have installed vim.gnome-py2, which has both python and clientserver support.
Also, I ran update-alternatives for both vim and gvim.
Is there a way to get Yavide work through vim and not gvim? Right now, the command yavide
opens gvim.
from yavide.
Is there a way to get Yavide work through vim and not gvim? Right now, the command yavide opens gvim.
As I mentioned it above, vim
is not distributed with clientserver
support compiled in. If you find one elsewhere or compile vim
yourself so it has that feature, with minor fix you should be able to run yavide
without any problems. Fix is replacing gvim
occurrence with vim
here and here.
from yavide.
Related Issues (20)
- Error when executing: "function Y_Env_Init[2]..Y_ServerStart" HOT 8
- Multiple errors on startup. HOT 5
- 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.