title: Flask is not importing even though I installed it
body: <p>I'm on Windows 10 and I am using PyCharm to run my application. I'm pretty new to Python and just coding in general. </p>
  
  <p>I typed:</p>
  
  <pre><code>pip install flask
  </code></pre>
  
  <p>in the cmd prompt but forgot to open cmd prompt under administrator privileges. Could this be the problem? I ended up re-opening the cmd prompt with administrator rights and typed </p>
  
  <pre><code>pip install flask
  </code></pre>
  
  <p>again and it showed that it was already installed. I'm pretty sure I have flask installed on my system.</p>
  
  <p>When I try to run the python file below which I named test_webapp.py I get the following error:</p>
  
  <pre><code>from flask import Flask
  
  app = Flask(__name__)
  
  @app.route("/")
  
  def hello():
  
      return "Hello World!"
  
  if __name__ == "__main__":
  
      app.run()
  </code></pre>
  
  <p>I get an error:</p>
  
  <blockquote>
    <p>ModuleNotFoundError: No module named 'flask'</p>
  </blockquote>
  
  <p>when i type in python --version into the command prompt i get version 3.6.3.</p>
  
  <p>When i type the same code into the Python 3.6 (32-bit) command line, the code works! However, when i try to run it using the IDLE I get a SyntaxError and the number 6 in Python 3.6.3 gets highlighted in red.</p>
  
  <p>Any ideas as to what's going on?</p>