notmuch version/Python bindings

David Bremner david at
Thu Feb 16 06:24:16 PST 2017

Aryeh Leib Taurog <python at> writes:

> The latest notmuch includes but the latest python 
> bindings wrap so importing from notmuch results in the 
> following error:
>   File "/home/altaurog/venv/offlineimap/lib/python2.7/site-packages/notmuch/", line 54, in <module>
>     from .database import Database
>   File "/home/altaurog/venv/offlineimap/lib/python2.7/site-packages/notmuch/", line 24, in <module>
>     from .globals import (
>   File "/home/altaurog/venv/offlineimap/lib/python2.7/site-packages/notmuch/", line 27, in <module>
>     raise ImportError("Could not find shared 'notmuch' library.")
> ImportError: Could not find shared 'notmuch' library.
> I changed it to in and it seems to work.  
> Is that reasonable or should I expect problems?

I'd say you should get your python bindings from the same place you get
libnotmuch. In the latest released source (and in git master), the
SOVERSION in matches, and uses that.


More information about the notmuch mailing list