On Fri, Nov 20, 2009 at 11:05 AM, Kev Dwyer <[email protected]> wrote:
> I ran your script on a CentOS vm (5.2 server 32bit, not quite the same as > yours but also running python 2.4.3). It ran without error. So I > suspect that either you have a rogue email module/package on your machine > or there's something wrong with the python install. > > You could try: > > import email > email.__version__ > > My interpreter responds "3.0.1" If you get a different response that > suggests a dodgy module somewhere - try email.__file__ and see where it's > located (my interpreter returns /usr/lib/python2.4/email/__init__.pyc). > > If the version number is "3.0.1" on your machine then I would check the > contents of /usr/lib64/python2.4/email/. Perhaps the base64MIME module > is missing. > >>> import email >>> email.__version__ '3.0.1' >>> [r...@13gems cart]# ls /usr/lib64/python2.4/email/ base64MIME.py Encoders.pyo Generator.pyc Iterators.py MIMEAudio.pyo MIMEMessage.pyc MIMEText.py Parser.pyo base64MIME.pyc Errors.py Generator.pyo Iterators.pyc MIMEBase.py MIMEMessage.pyo MIMEText.pyc quopriMIME.py base64MIME.pyo Errors.pyc Header.py Iterators.pyo MIMEBase.pyc MIMEMultipart.py MIMEText.pyo quopriMIME.pyc Charset.py Errors.pyo Header.pyc Message.py MIMEBase.pyo MIMEMultipart.pyc _parseaddr.py quopriMIME.pyo Charset.pyc FeedParser.py Header.pyo Message.pyc MIMEImage.py MIMEMultipart.pyo _parseaddr.pyc test Charset.pyo FeedParser.pyc __init__.py Message.pyo MIMEImage.pyc MIMENonMultipart.py _parseaddr.pyo Utils.py Encoders.py FeedParser.pyo __init__.pyc MIMEAudio.py MIMEImage.pyo MIMENonMultipart.pyc Parser.py Utils.pyc Encoders.pyc Generator.py __init__.pyo MIMEAudio.pyc MIMEMessage.py MIMENonMultipart.pyo Parser.pyc Utils.pyo Any other ideas? TIA, V
-- http://mail.python.org/mailman/listinfo/python-list
