mastering-pycharm-course icon indicating copy to clipboard operation
mastering-pycharm-course copied to clipboard

Databases project error

Open TVI-BIZ opened this issue 1 year ago • 0 comments

hi when I start project databases in pycharm it show's me error AttributeError: module 'sqlalchemy.orm' has no attribute 'relation' the problem is SQLAlchemy version compatibility. current version is 2.0.36 - get this error. you need to downgrade SQLAlchemy to version 1.4.53 - pip3 install sqlalchemy==1.4.53 this version is compatible with project.

TVI-BIZ avatar Nov 16 '24 19:11 TVI-BIZ