Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
When I try to run 'from flask_bcrypt import generate_password_hash,' this show 'from: can't read /var/mail/flask_bcrypt
from flask_bcrypt import generate_password_hash from: can't read /var/mail/flask_bcrypt
python3 Python 3.9.4 (v3.9.4:1f2e3088f3, Apr 4 2021, 12:32:44) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import generate_password_hashfrom flask_bcrypt import generate_password_hash File "<stdin>", line 1 import generate_password_hashfrom flask_bcrypt import generate_password_hash ^ SyntaxError: invalid syntax from flask.ext.bcrypt import generate_password_hash Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'flask.ext'