5

I'm using google datalab on google cloud platform. Worked great on the first try and I love how easy it is to now run a jupyter notebook server in the cloud (faster than starting up a localhost server). It's fantastic.

But now I want to install python libraries not included in the basic datalab environment (specifically I need the Bokeh plotting library).

So I opened a google cloud shell from the google cloud console where I manage this jupyter notebook instance, installed miniconda and then the bokeh library. Everything ran without error (e.g. bokeh installs several dependencies along the way), but my jupyter notebook on datalab (which can import other libraries like numpy) still gives me a "no module named bokeh.plotting" error.

Any ideas? Thanks in advance.

4

1 回答 1

5

You can do this inside a notebook:

%%bash
pip install bokeh
于 2015-10-16T17:17:30.593 回答