cancel
Showing results for 
Search instead for 
Did you mean: 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't access to a directory for installing .whl

PabloCSD
Contributor II

I was trying to install a personalized .whl file located in the "shared" folder but I'm obtaining this error:

org.apache.spark.SparkException: Process List(/bin/su, libraries, -c, bash /local_disk0/.ephemeral_nfs/cluster_libraries/python/python_start_clusterwide.sh /local_disk0/.ephemeral_nfs/cluster_libraries/python/bin/pip install --upgrade /local_disk0/tmp/addedFilef07dccf16acf40d19c1a6efc5fd872ec7514431202893444442/dbx_my_process-0.2.6-py3-none-any.whl --disable-pip-version-check) exited with code 1. ERROR: Could not install packages due to an OSError: [Errno 1] Operation not permitted: '/Workspace/Shared/Libraries/my-library-0.2.7-py3-none-any.whl'

The pyproject.toml installs the wheel this way (I'm using dbx and uploading it to a workflow):

 

[tool.poetry.dependencies]
python = ">=3.9,<3.11"
my-library = {file = "/Workspace/Shared/Libraries/my-library-0.2.7-py3-none-any.whl"}
0 REPLIES 0

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