You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Henryz0928 (via GitHub)" <gi...@apache.org> on 2024/04/03 09:29:43 UTC

Re: [I] ModuleNotFoundError: No module named 'MySQLdb' getting this error while generating graph in superset 3.0.1 [superset]

Henryz0928 commented on issue #25706:
URL: https://github.com/apache/superset/issues/25706#issuecomment-2034037215

   After I modified SQLALCHEMY_DATABASE_URI = 'mysql://root:123456@127.0.0.1/superset_db' in the local config.py file, the startup error of the image container constructed by Docker occurred:
   2024-04-03 17:10:50   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/engine/create.py", line 544, in create_engine
   2024-04-03 17:10:50     dbapi = dialect_cls.dbapi(**dbapi_args)
   2024-04-03 17:10:50   File "/usr/local/lib/python3.9/site-packages/sqlalchemy/dialects/mysql/mysqldb.py", line 150, in dbapi
   2024-04-03 17:10:50     return __import__("MySQLdb")
   2024-04-03 17:10:50 ModuleNotFoundError: No module named 'MySQLdb'


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org