jupyter notebook安装插件,代码补全
程序员文章站
2022-05-25 12:33:17
...
在根据这个博客上的内容,给jupyter notebook时:
https://blog.csdn.net/weixin_37595559/article/details/81540482
- 首先安装nbextensions
pip install jupyter_contrib_nbextensions -i https://pypi.mirrors.ustc.edu.cn/simple
jupyter contrib nbextension install --user
- 安装nbextensions_configurator
pip install --user jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
在我运行jupyter notebook的时候,并没有出现nbextension,而出报错:
Error loading server extension jupyter_nbextensions_configurator
Traceback (most recent call last):
File "/home/bryce1010/anaconda3/lib/python3.6/site-packages/notebook/notebookapp.py", line 1481, in init_server_extensions
mod = importlib.import_module(modulename)
File "/home/bryce1010/anaconda3/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'jupyter_nbextensions_configurator'
后来,我查阅*后,得知一条命令:
python -m pip install --user jupyter_contrib_nbextensions
问题解决!!!
上一篇: ASP.NET发送电子邮件
下一篇: 安装jupyter遇到的问题
推荐阅读
-
Eclipse安装WebJavaEE插件、Eclipse编写HTML代码
-
open live writer安装以及代码高亮、折叠插件安装
-
如何修改通过Anaconda安装的jupyter notebook的工作目录
-
「python」jupyter notebook的安装,启动和关闭
-
ModuleNotFoundError: No module named 'torch'(anaconda安装好Pytorch却无法在Jupyter notebook使用)
-
如何启动Jupter notebook的代码补全功能
-
jupyter notebook运行R语言代码
-
安装jupyter notebook
-
jupyter notebook 插件包安装与工作路径设置方法
-
jupyter notebook 不同环境安装