weird problem with offlineimap

Benjamin Slade slade at jnanam.net
Fri Aug 24 22:05:02 UTC 2012


Thanks, Nicolas.  

I tried  PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages but it's still not finding it if I run from outside the offlineimap directory itself....


Nicolas Sebrecht writes:

> 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.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dr Benjamin Slade [ http://ling.uta.edu/~ben/ ]
  Dept. of Linguistics & TESOL - University of Texas at Arlington                
    132E Hammond Hall | Office Hours: tba
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   {sent from Emacs running under GNU/Linux}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/offlineimap-project/attachments/20120824/7520d232/attachment.html>


More information about the OfflineIMAP-project mailing list