nbextension安装后无法显示勾选栏

您所在的位置:网站首页 opengl不能勾选 nbextension安装后无法显示勾选栏

nbextension安装后无法显示勾选栏

2023-03-04 11:41| 来源: 网络整理| 查看: 265

安装JupyterNotebook遇到的问题 nbextension安装后无法显示勾选栏尝试解决方案方法1:方法2方法3最终解决方法

nbextension安装后无法显示勾选栏

尝试解决方案 方法1:

参考了帖子: https://blog.csdn.net/mark__tuwen/article/details/106207530

conda install -c conda-forge jupyter_contrib_nbextensions 尝试以下语句,出现以下报错: An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. 'https//conda.anaconda.org/conda-forge/win-64'

有了个新收获,了解了jupyter_nbextensions_configurator和jupyter_contrib_nbextensions的关系 在这里插入图片描述

方法2

参考帖子如下: https://blog.csdn.net/Deep___Learning/article/details/107567112 https://blog.csdn.net/qq_34785659/article/details/94762835 原文方法: C:\Users***\AppData\Local\Programs\Python\Python37\Scripts 到该目录下查看,发现确实没有 “jupyter-contrib” ,我们安装的是jupyter-contrib-nbextension,所以修改命令为:

jupyter contrib-nbextension install --user

找了下自己路径下,结果只有jupyter-nbextension 改成jupyter-nbextension install --user 后 报错如下:

Please specify an nbextension to install

糟心!!!

方法3

引用: https://blog.csdn.net/weixin_43006609/article/details/124889200

原文方法如下: 若安装完毕后,点击Nbextensions没有内容,则需要对其进行修复,conda中输入

conda install -c conda-forge jupyter_contrib_nbextensions jupyter nbextension enable jupyter contrib nbextension install --user jupyter nbextensions_configurator enable --user

报错信息如下:

EnvironmentNotWritableError: The current user does not have write permissions to the target environment. environment location: C:\ProgramData\Anaconda3

最终解决方法

原因:文件没有写入权限,需要以管理员权限运行anaconda powershell prompt

在这里插入图片描述 然后运行语句,妥妥的!!!

conda install -c conda-forge jupyter_contrib_nbextensions jupyter nbextension enable jupyter contrib nbextension install --user jupyter nbextensions_configurator enable --user

结果: 在这里插入图片描述



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3