weird problem with offlineimap

Nicolas Sebrecht nicolas.s-dev at laposte.net
Fri Aug 24 22:41:16 BST 2012


On Fri, Aug 24, 2012 at 04:11:31PM -0500, Benjamin Slade wrote:
> I take it back. Adding apparently relevant directories to the PYTHONPATH variable hasn't actually helped.
> 
> I tried all of these, and still it says it can't import unless I've called it from inside some offlineimap directory:
> 

Try with

  PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages

Notice it's a bit more straightforward as "offlineimap" is declared from
within the source and adding other python libraries does not require to
customize the libraires path. Once the installation paths known, you're
done.

-- 
Nicolas Sebrecht




More information about the OfflineIMAP-project mailing list