PacktPublishing / Mastering-Flask-Web-Development-Second-Edition

Mastering Flask Web Development, published by Packt
MIT License
153 stars 111 forks source link

info.database = os.path.join(app.root_path, info.database) AttributeError: can't set attribute #10

Closed be-great closed 3 years ago

be-great commented 3 years ago

the Flask-SQLAlchemy==2.3.2, The version needs to be >= 2.5

dpgaspar commented 3 years ago

@be-great thank you for reaching out.

These are getting outdated, but did a quick test and

blinker
Flask==1.0.2
Flask-Login==0.4.1
Flask-SQLAlchemy==2.3.2
Flask-Migrate==2.1.1
Flask-WTF==0.14.2
flask-restful
flask-jwt-extended
flask-bcrypt
flask-openid
flask-dance
Faker==0.8.13

The previous install just fine. I'll test it with one of the examples, it would be great if you can post on what example your getting the AttributeError and the full log with the stack trace.