在Google Colab上安装jupyter-contrib-nbextension [英] Installing jupyter-contrib-nbextension on Google Colab

查看:85
本文介绍了在Google Colab上安装jupyter-contrib-nbextension的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想安装腹地,以便在Google colab中使用.我按照官方页面

I wanted to install hinterland for use in google colab. I followed the installation instructions on official page

基本上,我执行了以下步骤:

Basically I did the following steps:

!pip install https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tarball/master
!jupyter contrib nbextension install --user

现在,当我要启用任何特定扩展名时说腹地"时,我将执行以下操作:

Now when I want to enable any particular extension say 'hinterland' I do the following:

!jupyter nbextension enable  /usr/local/lib/python3.6/dist-packages/jupyter_contrib_nbextensions/nbextensions/hinterland/hinterland.js

但这给了我一个错误:

Enabling notebook extension /usr/local/lib/python3.6/dist-packages/jupyter_contrib_nbextensions/nbextensions/hinterland/hinterland.js...
  - Validating: problems found:
    - require?  X /usr/local/lib/python3.6/dist-packages/jupyter_contrib_nbextensions/nbextensions/hinterland/hinterland.js

我该如何解决?我在任何步骤上都会出错吗?

How do I fix this? Am I going wrong in any step?

或者还有其他更好的方法来专门为Google colab安装这些扩展.

Or is there any other better way of installing these extensions specifically for google colab.

推荐答案

只需运行!jupyter nbextension enable hinterland/hinterland:

这篇关于在Google Colab上安装jupyter-contrib-nbextension的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆