[Tutor] Re: random import errors
Lee Harr
missive at hotmail.com
Tue Apr 5 23:22:10 CEST 2005
>I have a python script that runs on my webserver every fifteen minutes. It
>has run for several months with absolutely no problems. Suddenly,
>yesterday
>morning I got an email from cron with an import error for sre_constants
>(see
>below)
>
> File "/usr/lib/python2.2/sre_compile.py", line 15, in ?
> from sre_constants import *
>ImportError: No module named sre_constants
Do you have more than one version of python installed?
Can you copy sre_constants.py from another system?
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
More information about the Tutor
mailing list