cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to NOT install or disable or uninstall Databricks Delta Live Tables dlt module on jobs cluster?

matthiasjg
New Contributor II

I need to NOT have the Databricks Delta Live Tables (DLT) Python stub installed on job cluster b/c of naming conflict w/ pip library dlt (and I also don't need delta live tables).

There is no "simple" way of uninstalling. It's not installed via pip as databricks-dlt but as

<module 'dlt' from '/databricks/spark/python/dlt/__init__.py'>

Also this doesn't do the trick.

Thx in advance!

1 REPLY 1

matthiasjg
New Contributor II

For anyone facing a similar problem: I've addressed the issue of the dlt module conflict on my job cluster, by using an init script to remove the dlt module from the cluster's Python environment.

Simply by doing:

%bash
#!/bin/bash
rm -rf /databricks/spark/python/dlt

hth

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now