Comments (2)
It seems you have run into a dependency issue I was unaware of as I'm on a recent ubuntu with python 2.7.
http://docs.python.org/library/subprocess.html claim subprocess.check_output has been added in v2.7.
please update this module.
Also, could you check if this can be done via apt-get on your sys? We should update the INSTALL file
and maybe also the setup.py to set v>=2.7 as a dependency
from alot.
subprocess.check_output has been added in v2.7.
please update this module.
Also, could you check if this can be done via apt-get on your sys?
Well, subprocess lives in python-minimal:
$ apt-file search subprocess.py | grep 2.7
python2.7-minimal: /usr/lib/python2.7/subprocess.py
So you'll obviously need python 2.7 for that:
# aptitude install python2.7-minimal
The following NEW packages will be installed:
python2.7{a} python2.7-minimal
To run alot without seriously bending your PYTHONPATH (where does notmuch.py live?), you'll have to re-install the dependencies with 2.7 (since they live in a subdir depending on the python interpreter version):
# ll /usr/local/lib/python2.6/dist-packages/
total 32K
drwxr-sr-x 2 root staff 4.0K 2011-08-17 23:38 alot/
-rw-r--r-- 1 root staff 416 2011-08-17 23:38 alot-0.1.egg-info
-rw-r--r-- 1 root staff 220 2011-08-17 23:48 easy-install.pth
drwxr-sr-x 2 root staff 4.0K 2011-08-17 23:44 notmuch/
-rw-r--r-- 1 root staff 2.4K 2011-08-17 23:44 notmuch-0.6.egg-info
drwxr-sr-x 5 root staff 4.0K 2010-03-22 21:41 pytrainer/
-rw-r--r-- 1 root staff 277 2010-03-22 21:41 pytrainer-1.7.1.egg-info
drwxr-sr-x 4 root staff 4.0K 2011-08-17 23:48 urwid-1.0.0-py2.6-linux-i686.egg/
[alot|notmuch/bindings/python|urwid]$ sudo python2.7 setup.py install
To install urwid, though, you will need python2.7's headers:
urwid# python2.7 setup.py install
[...]
source/str_util.c:25: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
# aptitude install python2.7-dev
The following NEW packages will be installed:
libpython2.7{a} python2.7-dev
We should update the INSTALL file
and maybe also the setup.py to set v>=2.7 as a dependency
so, yes, you'll probably want something like this.
But: python2.7 fixes that issue for me.
from alot.
Related Issues (20)
- New release? HOT 1
- change colorscheme at runtime ? HOT 1
- [master/cffi] AttributeError: 'Thread' object has no attribute 'get_toplevel_messages' HOT 7
- `No matching distribution found for notmuch2>=0.30` HOT 3
- Contact completion with khard HOT 2
- Not compatible with notmuch2 0.35 bindings HOT 15
- Act on multiple threads in search mode HOT 3
- Local hostname in Message-ID HOT 4
- Unknown values were found in config
- please make `get_body_text` more robust HOT 1
- prompt before overwriting files when saving attachments HOT 1
- ` extract_body_part` can receive empty strings and throws exceptions when it does
- Crash while trying to attach word .doc file: module 'magic' has no attribute '_libraries HOT 3
- Sort oldest first by newest email in thread HOT 1
- LookupError when displaying inbox with notmuch backend HOT 1
- Use Github Actions HOT 4
- would it be ok to convert installer to poetry ? HOT 3
- Switch from gpg to python-gnupg HOT 14
- mailcap is deprecated in Python 3.11 and will be removed in 3.13 HOT 1
- Default theme should always be readable HOT 1
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 alot.