title: Flask, Bcrypt - ImportError: No module named ext.bcrypt
body: <p>Why the following?</p>
  
  <pre><code>from flask import Flask
  from flask.ext.bcrypt import Bcrypt
  
   Python 2.7.12 (default, Dec  4 2017, 14:50:18) 
  [GCC 5.4.0 20160609] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; from flask import Flask
  &gt;&gt;&gt; from flask.ext.bcrypt import Bcrypt
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named ext.bcrypt
  </code></pre>
  
  <p>I have flask-bcrypt installed:</p>
  
  <pre><code>pip install Flask-Bcrypt
  Requirement already satisfied: Flask-Bcrypt in /usr/local/lib/python2.7/dist-packages (0.7.1)
  Requirement already satisfied: Flask in /usr/local/lib/python2.7/dist-packages (from Flask-Bcrypt) (1.0.2)
  Requirement already satisfied: bcrypt in /usr/local/lib/python2.7/dist-packages/bcrypt-3.1.4-py2.7-linux-x86_64.egg (from Flask-Bcrypt) (3.1.4)
  Requirement already satisfied: Jinja2&gt;=2.10 in /usr/local/lib/python2.7/dist-packages/Jinja2-2.10-py2.7.egg (from Flask-&gt;Flask-Bcrypt) (2.10)
  Requirement already satisfied: itsdangerous&gt;=0.24 in /usr/local/lib/python2.7/dist-packages (from Flask-&gt;Flask-Bcrypt) (0.24)
  Requirement already satisfied: Werkzeug&gt;=0.14 in /usr/local/lib/python2.7/dist-packages (from Flask-&gt;Flask-Bcrypt) (0.14.1)
  Requirement already satisfied: click&gt;=5.1 in /usr/local/lib/python2.7/dist-packages (from Flask-&gt;Flask-Bcrypt) (6.7)
  Requirement already satisfied: cffi&gt;=1.1 in /usr/local/lib/python2.7/dist-packages/cffi-1.11.5-py2.7-linux-x86_64.egg (from bcrypt-&gt;Flask-Bcrypt) (1.11.5)
  Requirement already satisfied: six&gt;=1.4.1 in /usr/local/lib/python2.7/dist-packages/six-1.10.0-py2.7.egg (from bcrypt-&gt;Flask-Bcrypt) (1.10.0)
  Requirement already satisfied: MarkupSafe&gt;=0.23 in /usr/local/lib/python2.7/dist-packages/MarkupSafe-1.0-py2.7-linux-x86_64.egg (from Jinja2&gt;=2.10-&gt;Flask-&gt;Flask-Bcrypt) (1.0)
  Requirement already satisfied: pycparser in /usr/local/lib/python2.7/dist-packages/pycparser-2.18-py2.7.egg (from cffi&gt;=1.1-&gt;bcrypt-&gt;Flask-Bcrypt) (2.18)
  </code></pre>
  
  <p>This error leaves me nowhere to go.  I followed the docs here:</p>
  
  <p><a href="https://flask-bcrypt.readthedocs.io/en/latest/" rel="nofollow noreferrer">https://flask-bcrypt.readthedocs.io/en/latest/</a></p>