title: Got ImportError: No module named web
body: <p>When I run the following <code>app.py</code> I get</p>
  
  <pre><code>ImportError: No module named web
  </code></pre>
  
  <p>But I've already install <code>web</code> with the command <code>sudo easy_install web.py</code>, where I got the following:</p>
  
  <pre><code>Searching for web.py
  Best match: web.py 0.40.dev0
  Adding web.py 0.40.dev0 to easy-install.pth file
  Using/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
  Processing dependencies for web.py
  Finished processing dependencies for web.py
  </code></pre>
  
  <p>then running  </p>
  
  <pre><code>pip install web.py
  </code></pre>
  
  <p>I got</p>
  
  <pre><code>Requirement already satisfied: web.py in/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (0.40.dev0)
  </code></pre>
  
  <p>still got the the error when running my <code>app.py</code></p>
  
  <pre><code>import web
  
  urls=(
    '/','index'
    )
  
  app=web.application(urls,globals())
  
  class index:
      def GET(self):
      greeting="Hello World"
      return greeting
  
  if __name__=="__main__":
      app.run()
  </code></pre>