title: ImportError: No module named netifaces
body: <p>I'm trying to get the IP address and MAC address of my pc's network card by python. I got some code from <a href="https://stackoverflow.com/questions/270745/how-do-i-determine-all-of-my-ip-addresses-when-i-have-multiple-nics">here</a></p>
  
  <p>I create a proj "getip".
  create "main.py". And I modify the code of "main.py" as follow</p>
  
  <pre><code>from netifaces import interfaces, ifaddresses, AF_INET
  
  def ip4_addresses():
      ip_list = []
      for interface in interfaces():
          for link in ifaddresses(interface)[AF_INET]:
              ip_list.append(link['addr'])
  
      return ip_list
  
  def main():
      print ip4_addresses()
  
  
  if __name__ == "__main__":
      main()
  </code></pre>
  
  <p>and I create "app.yaml"</p>
  
  <pre><code>application: getip
  version: 1
  runtime: python
  api_version: 1
  
  handlers:
  - url: .*
    script: main.py
  </code></pre>
  
  <p>and when I run the main.py at console as "python main.py", I got the ip addresses.</p>
  
  <p>and when I run as "dev_appserver.py getip", the server is setup. When I browse the page as localhost:8080, the web page is white screen and I got the following error at console.</p>
  
  <blockquote>
    <p>from netifaces import interfaces, ifaddresses, AF_INET </p>
    
    <p>ImportError: No module named netifaces</p>
  </blockquote>
  
  <p>How can I solve the problem?</p>