1
votes

The default Google Cloud Datalab only comes with two default kernels: python2 and python3.

enter image description here

Is it possible to create our own extra virtual environment?

Many thanks,

1
By "extra virtual environment" do you mean an extra kernel?yelsayed
Yes. For example I want to force a specific version of python; or to install extra dependencies without affecting the global environments.Ken Ly
You can use the pip package virtualenv for that.yelsayed
I mean I want to be able to select the virtualenv within the Notebook ... By default when I installed Cloud Datalab, there are only 2 choices as shown in my post. I want to be able to add my own virtualenv ...Ken Ly
I see. That dropdown is meant to surface the installed kernels in the Datalab image, not the virtual environments within a specific kernel. You can fork the open source repository and make your own changes of course, but I'd venture to say that's a decent amount of work.yelsayed

1 Answers