โ07-17-2025 06:37 AM
Hi Community,
I have been informed that it's not possible to install either Python libraries, Python wheels or MAVEN libraries on the new Databricks Free account - It is possible with the old Databrick Community Edition
Can someone please confirm that is the case. If that is the case, can someone let me know what are the alternatives?
Thanks
Carlton
โ07-17-2025 08:48 AM
Hi @cpatte7372 ,
You can still install python wheel files. For instance, I created following simple wheel file:
Then I uploaded it to my Unity Catalog volume and I was able to install it using pip:
%sh
pip install /Volumes/workspace/default/my_volume/hello_pkg-0.1-py3-none-any.whl
โ07-17-2025 07:08 AM
Hi @cpatte7372 ,
Serverless compute has some limiations. For instnace, you can't install cluster scoped libraries etc.Take a look at full list here:
- Compute policies
- Compute-scoped init scripts
- Compute-scoped libraries, including custom data sources and Spark extensions. Use notebook-scoped libraries instead.
- Instance pools
- Compute event logs
- Most Apache Spark compute configurations. For a list of supported configurations, see Configure Spark properties for serverless notebooks and jobs.
- Environment variables. Instead, Databricks recommends using widgets to create job and task paramers
Serverless compute limitations - Azure Databricks | Microsoft Learn
But you can install notebook-scoped libraries, like I did below:
โ07-17-2025 08:11 AM - edited โ07-17-2025 08:12 AM
Thanks for getting in touch.
So, if I read you correctly I can do a PIP install, for example 'pip install kafka-python' however, if I created my own python wheel would I not be able to install it, correct?
โ07-17-2025 08:48 AM
Hi @cpatte7372 ,
You can still install python wheel files. For instance, I created following simple wheel file:
Then I uploaded it to my Unity Catalog volume and I was able to install it using pip:
%sh
pip install /Volumes/workspace/default/my_volume/hello_pkg-0.1-py3-none-any.whl
โ07-17-2025 08:58 AM
โ07-17-2025 09:02 AM
No problem @cpatte7372 , glad that I could help ๐
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now