Skip to content
Advertisement

sqlalchemy.exc.ArgumentError: Can’t load plugin: sqlalchemy.dialects:driver

I am trying to run alembic migration and when I run

JavaScript

It fails saying

JavaScript

the database url is

JavaScript

and I even have psycopg2 installed in my virtualenv

JavaScript

Whay could be causing this issue?

Advertisement

Answer

Here’s how to produce an error like that:

JavaScript

so I’d say you aren’t actually using the postgresql URL you think you are – you probably are calling upon a default-generated alembic.ini somewhere.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement