Hi there gurus and everyone else. This is my first post to this group, and I'm turning here because I'm stumped and search engines are not helping.
I've used smtplib for a few things already and while wanting to use it again today, I'm having weird things happen. Basically, my code looks like this: ---------------- #!/usr/bin/env python import smtplib pass ---------------- and when I run it, I get this: ---------------- srv1:~/python# ./email.py Traceback (most recent call last): File "./email.py", line 3, in import smtplib File "/usr/local/lib/python2.6/smtplib.py", line 46, in import email.utils ImportError: No module named utils ---------------- And I can also confirm that email.utils exists ---------------- srv1:~/python# file /usr/local/lib/python2.6/email/utils.py /usr/local/lib/python2.6/email/utils.py: ASCII Java program text ---------------- So can anyone steer me in the right direction? Oh, this first happened with the Debian distro release Python2.5, I then downloaded and compiled 2.6.5 and it's still happening. I'm very lost and would appreciate any help on the matter. -- James
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor