Could not load database driver: TrinoEngineSpec
See original GitHub issueI followed the trino tutorial and started superset with the Docker Compose of the latest git repository. And now i get always the error:
ERROR: Could not load database driver: TrinoEngineSpec
Expected results
I have access to trino database
Actual results
Error Message
How to reproduce the bug
- Clone git repo
- Add sqlalchemy-trino to requirements-local.txt (https://superset.apache.org/docs/databases/dockeradddrivers)
- Execute “docker-compose -f docker-compose-non-dev.yml up”
- Add trino://{username}:{password}@{hostname}:{port}/{catalog} to database and see error
Environment
(please complete the following information):
- superset version:
docker version: latest - python version:
python --versionPython 3.7.9 Flask 1.1.2 Werkzeug 1.0.1
Checklist
Make sure to follow these steps before submitting your issue - thank you!
- I have checked the superset logs for python stacktraces and included it here as text if there are any.
- I have reproduced the issue with at least the latest released version of superset.
- I have checked the issue tracker for the same issue and I haven’t found one similar.
Additional context
pip freeze output of worker:
simplejson==3.17.2
six==1.15.0
slackclient==2.5.0
SQLAlchemy==1.3.20
sqlalchemy-trino==0.2.0
SQLAlchemy-Utils==0.36.8
sqlparse==0.3.0
tableschema==1.20.0
tabulator==1.52.5
thrift==0.13.0
thrift-sasl==0.4.2
trino==0.305.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Could not load database driver: KylinEngineSpec
While trying to connect Kylin within Superset i get the following error message: ERROR: Could not load database driver: KylinEngineSpec.
Read more >Installing Database Drivers - Apache Superset
Database PyPI package Connection String
Amazon Redshift pip install sqlalchemy‑redshift redshift+psycopg2://:@:5439/
Apache Drill pip install sqlalchemy‑drill drill+sadrill:// For JDBC drill+jdbc://
Apache Druid pip install pydruid druid://:@:/druid/v2/sql...
Read more >airbnb/superset - Gitter
ERROR : Could not load database driver: mysql+mysqldb. In the console I see superset.views.core:Invalid driver No module named 'MySQLdb'
Read more >ERROR: Could not load database driver: AzureSynapseSpec
H @handita this error is usually thrown when the database driver isn't installed ... as this is not a bug but a configuration...
Read more >12: Trino gets super visual with Apache Superset!
Your browser can't play this video. ... It should be coming out shortly! ... Next, you need to set up the database driver...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@manuelreis you shoud add
sqlalchemy-trinotoadditionalRequirements@dungdm93 I was using the helm chart contained in this repo.