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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group