Can't load plugin: sqlalchemy.dialects:snowflake error when testing connection while adding datasource
ERROR: {"error": "Connection failed!\n\nThe error message returned was:\nCan't load plugin: sqlalchemy.dialects:snowflake", "stacktrace": "Traceback (most recent call last):\n File "/app/superset/views/core.py", line 1769, in testconn\n engine = database.get_sqla_engine(user_name=username)\n File "/app/superset/utils/core.py", line 130, in call\n value = self.func(*args, **kwargs)\n File "/app/superset/models/core.py", line 971, in get_sqla_engine\n return create_engine(sqlalchemy_url, **params)\n File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/init.py", line 435, in create_engine\n return strategy.create(*args, **kwargs)\n File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/strategies.py", line 61, in create\n entrypoint = u._get_entrypoint()\n File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/url.py", line 172, in _get_entrypoint\n cls = registry.load(name)\n File "/usr/local/lib/python3.6/site-packages/sqlalchemy/util/langhelpers.py", line 240, in load\n "Can't load plugin: %s:%s" % (self.group, name)\nsqlalchemy.exc.NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:snowflake\n"}
- I have run pip3 install snowflake-sqlalchemy
- Verified installation as per https://github.com/snowflakedb/snowflake-sqlalchemy
Please let me know if there are more things to be done here. Thanks!
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.94. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Even I am facing similar issue! with Clickhouse.
Can you please share your steps in-case you were able to fix it.
@AnkitSingh02 Make sure that all the library installations are done inside the docker.
Have already installed the library sqlalchemy_clickhouse inside the container, manually by exec into the container (not at the time of creating the container) does that make any difference? Installation while creating the container or installing it by exec inside a container.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.