Comments (9)
You don't have vim compiled with Python support. Check out the documentation for details.
from powerline.
Thank you.
I cannot find instructions about how to compile vim with python support. Could you add more info to documentation.
To enable python support you should add following options:
--enable-pythoninterp --with-python-config-dir=/usr/lib/python2.7/config/
, where /usr/lib/python2.7/config/
is specific to Ubuntu 12.04.*
from powerline.
Aw man, doesn't Ubuntu provide vim with Python support by default either? I'll add some more instructions to the docs, thanks for the tip. :)
from powerline.
Vim from Ubuntu package has python support but some crazy folks want to compile vim from source, so additional info could be useful :)
Thank you!
from powerline.
Ah, I see. Do you know if --with-python-config-dir
is absolutely necessary on Ubuntu? I'm running Arch and I don't use that flag when compiling vim, so I just wondered if it works without the flag on Ubuntu as well.
from powerline.
Also we need to make sure that python header present in the system. On Ubuntu you can install it with
sudo apt-get install python2.7-dev
from powerline.
Oh, you're right. Actually it's not necessary. You just have to install python2.7-dev
and vim will find it automatically. First time python2.7-dev
wasn't installed on my machine, so vim failed to find it with:
checking for python2... /usr/bin/python2
checking Python version... 2.7
checking Python is 1.4 or better... yep
checking Python's install prefix... /usr
checking Python's execution prefix... /usr
checking Python's configuration directory...
can't find it!
from powerline.
Thanks, I've updated the requirements section in the docs to include this information.
from powerline.
π
from powerline.
Related Issues (20)
- [ZSH ONLY] powerline-render error: argument --last-pipe-status: invalid <lambda> value: '0s0'
- No such file or directory (sometimes) HOT 1
- metadata-generation-failed when installing on on python 3.11/macOS 12 HOT 1
- setup fails for development version of tmux HOT 1
- Centre segments section HOT 1
- Logging test fail on python 3.8+
- Is it possible to set a highlight group for the environment variable segment? HOT 1
- Powerline doesn't working on Ubuntu 22.04.3 and bash
- Color and colorshemes override not working - gnome terminal - shell HOT 3
- powerline.segments.common.net.internal_ip HOT 2
- TMUX_VAR_RE does not use raw string, leading to SyntaxWarning with python 3.12
- powerline deprecation warning
- [feature] json schema support HOT 1
- The imp module is removed in Python 3.12 HOT 4
- Questions about Copilot + Open Source Software Hierarchy
- Questions about Copilot + Open Source Software Hierarchy
- does powerline works for csh HOT 4
- Terminal graphics donβt work correctly in Fedora 40 KDE HOT 2
- fuzzy_time segment prints "o'clock three" instead of "three o'clock" HOT 2
- Weather segment broken (Bad Yahoo Weather SSL Cert) in RHEL 9
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 powerline.