notmuch version/Python bindings

Aryeh Leib Taurog python at aryehleib.com
Thu Feb 16 06:09:38 PST 2017


The latest notmuch includes libnotmuch.so.4.4.0 but the latest python 
bindings wrap libnotmuch.so.3 so importing from notmuch results in the 
following error:

  File "/home/altaurog/venv/offlineimap/lib/python2.7/site-packages/notmuch/__init__.py", line 54, in <module>
    from .database import Database
  File "/home/altaurog/venv/offlineimap/lib/python2.7/site-packages/notmuch/database.py", line 24, in <module>
    from .globals import (
  File "/home/altaurog/venv/offlineimap/lib/python2.7/site-packages/notmuch/globals.py", line 27, in <module>
    raise ImportError("Could not find shared 'notmuch' library.")
ImportError: Could not find shared 'notmuch' library.

I changed it to libnotmuch.so.4 in globals.py and it seems to work.  
Is that reasonable or should I expect problems?


More information about the notmuch mailing list