I am trying to run a Python-Flask project. I have all the requirements installed. But still, whenever I try to run the server I get an error saying
sqlalchemy.exc.ArgumentError: Can't load plugin: sqlalchemy.dialects:driver
Can anyone please tell me what can be wrong here and which file I need to examine?
Thanks.
I had similar issue on Heroku using Heroku Postgres plug-in.
After two days headache the bellow solutions works me.
DATABASE_URL = os.environ.get("DATABASE_URL").replace("postgres", "postgresql")
sqlalchemy.exc.ArgumentError: Can't load plugin: sqlalchemy.dialects:None