On Tue, 2007-04-17 at 12:33 -0700, erikcw wrote:
> You're right. Something is not right with my sys.path.
>
> cron:
> '/home/lybp/public_html/winneralert', '/usr/lib/python2.2', '/usr/lib/
> python2.2/plat-linux2', '/usr/lib/python2.2/lib-tk', '/usr/lib/
> python2.2/lib-dynload', '/usr/lib/python
On Apr 14, 10:50 pm, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
> On 14 Apr 2007 18:56:00 -0700, "erikcw" <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>
>
> > The cron command is python /home/lybp/public_html/wa/wa.py
>
> > Any idea why MySQLdb wouldn't like this?
>
>
Hi all,
When trying to run this python script from cron, I get the following
error:
Traceback (most recent call last):
File "/home/lybp/public_html/wa/wa.py", line 14, in ?
import MySQLdb
ImportError: No module named MySQLdb
The cron command is python /home/lybp/public_html/wa/wa.py
Any id