Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

ModuleNotFoundError: No module named 'flask_bcrypt' #31

Open
raveenb opened this issue Nov 16, 2019 · 1 comment
Open

ModuleNotFoundError: No module named 'flask_bcrypt' #31

raveenb opened this issue Nov 16, 2019 · 1 comment

Comments

@raveenb
Copy link

raveenb commented Nov 16, 2019

Hi,
I am getting this issue after following instructions on the page


  flask db init
Usage: flask db init [OPTIONS]

Error: While importing "autoapp", an ImportError was raised:

Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/flask/cli.py", line 235, in locate_app
import(module_name)
File "/Users/raveenbeemsingh/Developer/conduit/flask-realworld-example-app/autoapp.py", line 5, in
from conduit.app import create_app
File "/Users/raveenbeemsingh/Developer/conduit/flask-realworld-example-app/conduit/app.py", line 4, in
from conduit.extensions import bcrypt, cache, db, migrate, jwt, cors
File "/Users/raveenbeemsingh/Developer/conduit/flask-realworld-example-app/conduit/extensions.py", line 4, in
from flask_bcrypt import Bcrypt
ModuleNotFoundError: No module named 'flask_bcrypt'

@limlynn
Copy link

limlynn commented Nov 25, 2019

try after this

pip install --upgrade setuptools
sudo apt-get install libpq-dev python-dev

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants