I made a conda environment in my Deep Learning VM. When I ssh to it (clicking SSH button of my instance in the VM instances page) and type
source activate <environment_name>
it gets activated correctly in the shell.I successfully connect to jupyter lab from my local machine as explained from the docs
How can I use jupyter in a specific conda environment on this VM ?
The accepted way to run jupyter in a specific conda environment seems to be
Activate a conda environment in your terminal using
source activate <environment_name>
before you run jupyter notebook.
but the Deep Learning VM docs say
A Jupyter Lab session is started when your Deep Learning VM instance is initialized
so that I cannot source activate before the creation of the jupyter lab session.
Any ideas ?
- run a standard jupyter notebook myself instead of using the jupyter lab provided by the VM ?
- activate the environment in startup scripts of the VM before the creation of the jupyter lab ?