Databricks connect use local virtual enviroment

Elm8r
New Contributor II

I have a simple python script in my local development enviroment and a related uv virtual env. I am trying to run the script on a databricks cluster using my venv, but even if i select it in the Python Environment section it is not actually using it, any idea why?

  • Db runtime 16.4.x
  • local python 3.12.0
  • Cluster python 3.12.3

 

szymon_dybczak
Esteemed Contributor III

Hi @Elm8r,

Are you using vscode?