Fiz o download do projeto final... fui rodar na minha máquina e o terminal apresentou o erro abaixo:
File "c:\Projetos\JOGOTECA\jogoteca.py", line 2, in <module>
from flask_sqlalchemy import SQLAlchemy
File "C:\Users\genesis.baptista\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask_sqlalchemy\__init__.py", line 5, in <module>
from .extension import SQLAlchemy
File "C:\Users\genesis.baptista\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask_sqlalchemy\extension.py", line 22, in <module>
from .session import _app_ctx_id
File "C:\Users\genesis.baptista\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask_sqlalchemy\session.py", line 8, in <module>
from flask.globals import app_ctx
ImportError: cannot import name 'app_ctx' from 'flask.globals'
Acredito que seja alguma problema das versões que estou usando... abaixo seguem as versões... poderiam me ajudar a entender o problema?
pip freeze
bcrypt==4.0.1
cachelib==0.10.2
click==8.1.3
colorama==0.4.6
Flask==2.1.3
Flask-Bcrypt==0.7.1
Flask-MySQL==1.5.2
Flask-Session==0.4.0
Flask-SQLAlchemy==3.0.3
Flask-WTF==1.0.0
greenlet==2.0.2
itsdangerous==2.1.2
Jinja2==3.1.2
MarkupSafe==2.1.2
mysql-connector-python==8.0.28
mysqlclient==2.1.1
protobuf==4.22.1
PyMySQL==1.0.2
SQLAlchemy==2.0.8
typing_extensions==4.5.0
Werkzeug==2.2.3
WTForms==3.0.1