title: python failed to import smtplib
body: <p>I have a script as follow</p>
  
  <pre><code>#!/usr/bin/python
  import smtplib
  import datetime
  from email.MIMEMultipart import MIMEMultipart
  from email.MIMEText import MIMEText
  
  now = '{:%Y-%m-%d %H:%M:%S}'.format(datetime.datetime.now())
  
  fromaddr = "xxx@gmail.com"
  toaddr = "yyy@live.com"
  msg = MIMEMultipart()
  msg['From'] = fromaddr
  msg['To'] = toaddr
  msg['Subject'] = "Device Start Up Notification"
  
  body = "Your device is started up %s " % now
  msg.attach(MIMEText(body, 'plain'))
  
  server = smtplib.SMTP('smtp.gmail.com', 587)
  server.starttls()
  server.login(fromaddr, "abc12345")
  text = msg.as_string()
  server.sendmail(fromaddr, toaddr, text)
  server.quit()
  </code></pre>
  
  <p>When i execute this file, it shows error</p>
  
  <pre><code>Traceback (most recent call last):
    File "./email.py", line 2, in &lt;module&gt;
      import smtplib
    File "/usr/lib/python2.7/smtplib.py", line 46, in &lt;module&gt;
      import email.utils
    File "/home/jypang/email.py", line 4, in &lt;module&gt;
      from email.MIMEMultipart import MIMEMultipart
  ImportError: No module named MIMEMultipart
  </code></pre>
  
  <p>The library is installed because I have another script which same as the script above (importing same library) and it's working well.</p>
  
  <p>Please assist, thank you!</p>