-
Prepare the environment
conda create -n databricks python=3.7 conda activate databricks
-
Install db-12-kernel
pip install git+git://github.com/bernhard-42/db-12-kernel.git
-
Edit
db_12_kernel_config.py
-
Copy it to the Jupyter config folder
cp db_12_kernel_config.py ~/.jupyter
-
Create kernelspec
python -m db_12_kernel install
Start jupyter lab
, select "DB Kernel". It will use the config in ~/.jupyter/db_12_kernel_config.py
. With execution of the first cell, the Python execution context will be created.