Edmond Rodriguez on 28 Nov 2009 10:26:33 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Where is that Python Module??


Could this have something to do with it?:
Of course, you may have already figured this much out.

/usr/lib/python2.5/email/mime


/usr/lib/python2.5/email/mime$ ls text*
text.py  text.pyc  text.pyo

/usr/lib/python2.5/email/mime$ head text.py
# Copyright (C) 2001-2006 Python Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org

"""Class representing text/* type MIME documents."""

__all__ = ['MIMEText']




----- Original Message ----
> From: Casey Bralla <MailList@nerdworld.org>
> To: PLUG Philadelphia Linux Users Group <PLUG@lists.phillylinux.org>
> Sent: Sat, November 28, 2009 1:08:14 PM
> Subject: [PLUG] Where is that Python Module??
> 
> Any Python gurus out there?
> 
> I'm writing an application that has to send eMails.    I developed it on a 
> computer that runs python 2.6.4 and it works just fine.
> 
> However, when I transferred it to a Debian stable computer that runs python 
> 2.4.4, one of the critical modules is not loaded, and I can't figure out where 
> to find it, or how to load it.  Can somebody give me some advice?
> 
> When I run this program, it bombs with:
> Traceback (most recent call last):
>   File "./program.py", line 40, in ?
>     from email.mime.text import MIMEText        # Needed to send eMails
> ImportError: No module named mime.text
> 
> 
> OK, so I need to find the module mime.text.   Unfortunately, I can't find it 
> anywhere in the Debian archives.   Anybody have a suggestion?  TIA!
> 
> -- 
> 
> Casey Bralla
> Chief Nerd in Residence
> The NerdWorld Organisation
> 

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug