Not able to install jupyterlab_bokeh extention

144 views
Skip to first unread message

Ali Fattahian

unread,
May 24, 2018, 4:28:57 PM5/24/18
to Project Jupyter

I am unable to install extension.

When I run "jupyter labextension install jupyterlab_bokeh" command it hangs while trying to resolve jupyterlab_bokeh-0.5.0.tgz package.  Has anyone run into this issue and been able to resolve it?

Thanks,
Ali


jupyter labextension install jupyterlab_bokeh
> /usr/local/bin/npm pack jupyterlab_bokeh
jupyterlab_bokeh-0.5.0.tgz
> node /Users/alifattahian/anaconda2/lib/python2.7/site-packages/jupyterlab/staging/yarn.js install
yarn install v1.5.1
(node:61231) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
info No lockfile found.
[1/4] 🔍  Resolving packages...
⠄ jupyterlab_bokeh@file:../extensions/jupyterlab_bokeh-0.5.0.tgz

Nicholas Bollweg

unread,
May 24, 2018, 7:37:01 PM5/24/18
to Project Jupyter
Hm... You wouldn't happen to have a nodejs 10 on your path, would you? The buffer error is telling.

There is a new version of yarn, 1.7.0, which should address this, but it's not yet bundled with a jupyterlab release.

You may want to try `conda install nodejs` so that there is less chance of a conflict... You'll probably get a node 8 from `defaults` or 9 from `conda-forge`.

Sorry this is frustrating... I really hope we can figure out a node-less solution for end users soon!

Ali Fattahian

unread,
May 25, 2018, 12:00:08 PM5/25/18
to Project Jupyter
Thanks for the help "conda install -c conda-forge nodejs" fix the issue

Ali Fattahian

unread,
May 25, 2018, 12:01:02 PM5/25/18
to Project Jupyter
Thanks "conda install -c conda-forge nodejs" fixed the issue

Nicholas Bollweg

unread,
May 25, 2018, 5:23:24 PM5/25/18
to jup...@googlegroups.com
Hooray! 
Reply all
Reply to author
Forward
0 new messages