我想安装腹地用于谷歌colab。我按照official page上的安装说明进行操作
基本上我做了以下步骤:
!pip install https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tarball/master
!jupyter contrib nbextension install --user
现在,当我想启用任何特定的扩展时,请说'hinterland',我会执行以下操作:
!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
我该如何解决?我在任何一步都出错了吗?
或者还有其他更好的方法来安装这些扩展专门为谷歌colab。