Re: Missing module using offlineimap via cron
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
John,
On Mon 22.Oct'07 at 8:57:55 -0500, John Goerzen wrote:
>On Mon October 22 2007 8:54:26 am Raffi Khatchadourian wrote:
>> Check that, *cron* is using another version of python at
>> /usr/bin/python: Python 2.3.5 (#1, Dec 7 2006, 14:50:51) [GCC 4.0.1
>> (Apple Computer, Inc. build 5363) (+4864187)] on darwin
>>
>> I am not sure where this one came from, it may have came with Mac OS
>> X.
>
>Ah ha. You need at least Python 2.4 to run OfflineIMAP. In fact,
>subprocess was introduced in 2.4.
Thanks! Adding the following line to the top of my crontab file fixed my
problem in case anyone else had similar issues:
PATH=/opt/local/bin:$PATH
Raffi
|
|