cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

not able to install library in normal site while in community version it working please help

ayush667787878
New Contributor

I am not able to install library in normal version while in community editioin i am able to add libray using compute how to install in normal databricks same as community edition. 

SCR-20250211-qxiz.png

ayush667787878_0-1739282136368.png

 

2 REPLIES 2

Louis_Frolio
Databricks Employee
Databricks Employee

Greetings @ayush667787878 , 

The difference comes down to the type of compute you’re using. In your standard Databricks workspace, you’re running on Serverless — which doesn’t support installing additional libraries on the cluster.

In Community Edition (which is being retired at the end of the year and replaced by Databricks Free Edition), you’re working with classic Spark clusters, and those do allow package/library installs.

Hope this clears things up. Cheers,

Louis

mark_ott
Databricks Employee
Databricks Employee

To install libraries in the normal (paid) version of Databricks, use the cluster management interface to add libraries to your compute resources. The process is similar to the Community Edition, but workspace policies and cluster access mode may restrict installation options and methods in paid versions.

Library Installation Steps

  • Open the Databricks workspace and click on "Compute" in the sidebar.

  • Select your cluster from the list.

  • Go to the "Libraries" tab, then click "Install New" or "Install library".

  • Choose the source type for your library:

    • For Python packages, select "PyPI" and enter the package name (optionally specify the version, e.g., pandas==2.0.0).

    • For workspace files (such as .whl, .jar, requirements.txt), select the appropriate option and upload your file.

    • For libraries stored in Unity Catalog volumes or cloud object storage, specify the file path.

  • Click "Install" and wait for the library to be available on your cluster.​

Key Differences and Troubleshooting

  • In normal Databricks, admins may enforce cluster policies that restrict library installation. You might see the installation option disabled or receive errors stating library installation is not supported on your compute. In such cases, contact your workspace admin for permissions or use clusters without restrictive policies.​​

  • Storage options like DBFS for library files are deprecated in newer Databricks Runtime versions for security reasons. Prefer uploading to workspace files, Unity Catalog volumes, or package repositories such as PyPI.​

  • For all-purpose compute, the process aligns closely with Community Edition; however, paid environments can use additional enterprise features like job compute, private repositories, and advanced controls.​

Supported Library Sources

  • PyPI (public Python packages)

  • Maven (Java or Scala packages)

  • CRAN (R packages)

  • Workspace-uploaded files (.whl, .jar, .zip, etc.)

  • Unity Catalog Volumes

  • Cloud Object Storage (e.g., ADLS, S3)

  • DBFS root (deprecated, not recommended)

If you see restricted options, your admin likely controls your library installation permission, or your cluster uses a policy that enforces or limits installations. Always verify access mode (standard vs. single user) for your compute resource.​