Using a Virtual environment

hvsk
Databricks Partner

Hi All,

We are working on training NHits/TFT (a Pytorch-forecasting implementation) for timeseries forecasting. However, we are having some issues with package dependency conflicts.

Is there a way to consistently use a virtual environment across cells in a Databricks notebooks? What is the recommended approach here?

Here is a screenshot of a minimal example where we are creating a virtual environment in one cell and in the next cell we are unable to access it.

Thank You