Reputation: 583
I successfully installed Bcrypt but it still gives error (Seems like nothing happened):
from flask_bcrypt import Bcrypt
The issue:
Traceback (most recent call last):
File "*path*", line 9, in <module>
from flask_bcrypt import Bcrypt
ModuleNotFoundError: No module named 'flask_bcrypt'
Upvotes: 1
Views: 343
Reputation: 3455
From the image it looks like you're using Pycharm, Make sure you install flask_bcrypt
specific to that virtual environment. Bring up the terminal and pip install flask-bcrypt
And Change the import statement to
from flask import Flask
from flask.ext.bcrypt import Bcrypt
-From the docs
Upvotes: 2