<p><#multipart type=alternative><#part type=text/plain><br/>
Just for the record I thought I would report that, by process of trial and error, I have determined that the correct path to add is:<br/>
</p>
<p><br/>
PYTHONPATH=$PYTHONPATH:/usr/local/lib<br/>
</p>
<p><br/>
thanks,<br/>
  –B.<br/>
</p>
<p><br/>
Nicolas Sebrecht writes:<br/>
</p>
<p><br/>
> On Sat, Aug 25, 2012 at 12:43:34PM -0500, Benjamin Slade wrote:<br/>
><br/>
>>    My .bashrc includes the following:<br/>
>> <br/>
>>    PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages<br/>
><br/>
> Above is correct but please, remove the following lines:<br/>
><br/>
>>    PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages/offlineimap/repository<br/>
>>    PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages/offlineimap/folder<br/>
>>    PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages/offlineimap/ui<br/>
>>    PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages/offlineimap/;export<br/>
>>    PYTHONPATH<br/>
><br/>
> They are wrong.<br/>
><br/>
> And you actually should have the "export PYTHONPATH" on its own line.<br/>
><br/>
> What does<br/>
><br/>
>   python –version<br/>
><br/>
> tell you?<br/>
</p>
<p><br/>
</p>
<p><br/>
– <br/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br/>
Dr Benjamin Slade [ <a href="http://ling.uta.edu/~ben/">http://ling.uta.edu/~ben/</a> ]<br/>
  Dept. of Linguistics & TESOL - University of Texas at Arlington                <br/>
    132E Hammond Hall | Office Hours: tba<br/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br/>
                   {sent by <a href="http://www.djcbsoftware.nl/code/mu/index.html">mu4e</a> on <a href="http://www.gnu.org/software/emacs">Emacs</a> running under <a href="http://www.gnu.org/">GNU</a>/<a href="http://www.linuxfoundation.org/">Linux</a>}<br/>
<#multipart type=related><#part type=text/html><br/>
<p>Just for the record I thought I would report that, by process of trial and error, I have determined that the correct path to add is:<br/><br/>
</p><br/>
<p><br/><br/>
PYTHONPATH=$PYTHONPATH:/usr/local/lib<br/><br/>
</p><br/>
<p><br/><br/>
thanks,<br/><br/>
  &ndash;B.<br/><br/>
</p><br/>
<p><br/><br/>
Nicolas Sebrecht writes:<br/><br/>
</p><br/>
<p><br/><br/>
&gt; On Sat, Aug 25, 2012 at 12:43:34PM -0500, Benjamin Slade wrote:<br/><br/>
&gt;<br/><br/>
&gt;&gt;    My .bashrc includes the following:<br/><br/>
&gt;&gt; <br/><br/>
&gt;&gt;    PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages<br/><br/>
&gt;<br/><br/>
&gt; Above is correct but please, remove the following lines:<br/><br/>
&gt;<br/><br/>
&gt;&gt;    PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages/offlineimap/repository<br/><br/>
&gt;&gt;    PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages/offlineimap/folder<br/><br/>
&gt;&gt;    PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages/offlineimap/ui<br/><br/>
&gt;&gt;    PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages/offlineimap/;export<br/><br/>
&gt;&gt;    PYTHONPATH<br/><br/>
&gt;<br/><br/>
&gt; They are wrong.<br/><br/>
&gt;<br/><br/>
&gt; And you actually should have the "export PYTHONPATH" on its own line.<br/><br/>
&gt;<br/><br/>
&gt; What does<br/><br/>
&gt;<br/><br/>
&gt;   python &ndash;version<br/><br/>
&gt;<br/><br/>
&gt; tell you?<br/><br/>
</p><br/>
<p><br/><br/>
</p><br/>
<p><br/><br/>
&ndash; <br/><br/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br/><br/>
Dr Benjamin Slade [ <a href="http://ling.uta.edu/~ben/"><a href="http://ling.uta.edu/~ben/">http://ling.uta.edu/~ben/</a></a> ]<br/><br/>
  Dept. of Linguistics &amp; TESOL - University of Texas at Arlington                <br/><br/>
    132E Hammond Hall | Office Hours: tba<br/><br/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br/><br/>
                   {sent by <a href="http://www.djcbsoftware.nl/code/mu/index.html">mu4e</a> on <a href="http://www.gnu.org/software/emacs">Emacs</a> running under <a href="http://www.gnu.org/">GNU</a>/<a href="http://www.linuxfoundation.org/">Linux</a>}<br/><br/>
</p><#/multipart><br/>
<#/multipart><br/>
</p>