自学内容网 自学内容网

jupyter_contrib_nbextensions安装失败问题

目录

1.文件路径长度问题

2.jupyter不出现Nbextensions选项


1.文件路径长度问题

问题:

could not create 'build\bdist.win-amd64\wheel\.\jupyter_contrib_nbextensions\nbextensions\contrib_nbextensions_help_item\contrib_nbextensions_help_item.yaml': No such file or directory

解决方法:

需要更改注册表,

输入 regedit,设置\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem路径下的变量 LongPathsEnabled, 将其置为 1,重新运行pip

报错截图
报错截图

2.jupyter不出现Nbextensions选项

问题: jupyter安装Nbextensions后不出现Nbextensions选项

安装Nbextensions的命令:

pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user

解决方法

conda install -c conda-forge jupyter_contrib_nbextensions

选择”Autopep8“和”Hinterland“即可


原文地址:https://blog.csdn.net/qq_39663113/article/details/140585911

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!