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:ย 

VS Code and Connect - Manual Environment Setup

spoltier
New Contributor III

The current version of the extension forces usage of certain python packaging / project tools. I used to be able to use the extension with my project which uses pixi, by setting up the dependencies myself in pyproject.toml / pixi.toml.

The current version of the extension ignores that setup completely and starts setting up a project based on uv. This basically makes the connect functionality unusable for my project.

I would like to be able to select the kernel / python environment myself, without the extension making a bunch of changes to my project configuration.

3 REPLIES 3

szymon_dybczak
Esteemed Contributor III

Hi @spoltier ,

There's now a neat way to configure this using databricks cli command called: databricks environments setup-local

Check below news:

Automatically create local Python environments compatible with Databricks Runtime : r/databricks

If my answer was helpful, please consider marking it as accepted solution

spoltier
New Contributor III

Reply to follow up - it looks like basic functionality (running cells) works, though the red "Databricks Connect disabled" status indicator is still present.

mancy34
New Contributor II

Iโ€™m running into the same kind of issue with projects that already have their own environment setup. Being able to manually select the Python environment/kernel without the extension forcing uv changes would make Connect much more flexible.