benetech / VideoDeduplication

GNU General Public License v3.0
34 stars 12 forks source link

sqlalchemy version 1.4.0 cant work #319

Open chenhai1030 opened 3 years ago

chenhai1030 commented 3 years ago

I got "sqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:postgres" when use sqlalchemy 1.4.0. The solution to that was to specify in requirements.txt that I do not want version 1.4, but an older version: SQLAlchemy<1.4

johnhbenetech commented 3 years ago

@chenhai1030 they changed the way they handle URI schemes, we have updated this in the latest config.yaml in development branch

https://github.com/benetech/VideoDeduplication/blob/development/config.yaml

The change is to adjust the postgres:// to postgresql://

Let us know if you still experience this issue after that change