[Tutor] Re: random import errors
python at jayloden.com
Tue Apr 5 23:35:54 CEST 2005
Only one version installed, and I could copy it over from elsewhere, but I
wouldn't be inclined to do so since it works right now.
On Tuesday 05 April 2005 10:22 pm, Lee Harr wrote:
> >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
> > 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!
> Tutor maillist - Tutor at python.org
More information about the Tutor