Could you check work directory where your python code is?
If your python file share the name as python library file,
system might cause problems, maybe...

when you try this code as following:

import sys
print sys.path

you can see, current directory come to head of list.
this means priority of loading current directory is highest.

regards

# I'm sorry for my poor english...

-- 
error importing email.mime.text
https://bugs.launchpad.net/bugs/144833
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to