[Tutor] Re: random import errors

Jay Loden 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. 

-Jay

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
> >(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/
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor


More information about the Tutor mailing list