Using databricks-sql-connector in Notebook
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2025 05:35 AM
I am attempting to utilse the databricks-sql-connector python package within a generalised application deployed to run within a Databricks notebook.
Upon attempting to import, I am receiving a module not found error. However, the package is visible when running pip list.
When attempting this import on my local machine where both databricks-sdk and databricks-sql-connector are installed, there are no issue with the above import.
Note, databricks-sql-connector is installed on the compute cluster using a pip requirements file, but databricks-sdk is there as a standard databricks package.
Has anybody else had issues when attempting to use databricks-sql-connector within a databricks notebook?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2025 08:00 AM - edited 02-26-2025 08:01 AM

