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: 

Use of venv pack

c038644
New Contributor II

Hi, I very new so this probably sounds stupid...

I'm following the blog on How to Manage Python Dependencies in PySpark:

https://www.databricks.com/blog/2020/12/22/how-to-manage-python-dependencies-in-pyspark.html

...but when I try the packing works fine but I recieve a file not found error (see screenshot). What can I do to fix this?

Thanks in advance.

3 REPLIES 3

Hubert-Dudek
Esteemed Contributor III

There are no stupid questions, only ones not asking them 🙂

What package are you need on the cluster? Maybe it can be installed using ready out-of.the-box options.

Debayan
Databricks Employee
Databricks Employee

Can you try using an absolute path instead of a relative path for the same?

For example: https://stackoverflow.com/questions/38661464/filenotfounderror-winerror-3

c038644
New Contributor II

Thanks for your answer, I tried but it didn't make any differerence (see attached). I will look again at my environment settings as as the error is coming back with '\\' maybe I just need to delete a '\' somewhere?

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