建议并成功安装JupyterLab构建,但无法正常工作。为什么?

背心

我正在从Anaconda运行JupyterLab,并使用以下命令安装了JupyterLab plotly扩展程序

conda install -c conda-forge jupyterlab-plotly-extension

显然,安装成功,但是还是有问题。启动JuyterLab时,出现以下提示:

在此处输入图片说明

点击BUILD给我这个:

在此处输入图片说明

然后单击以RELOAD回避JupyterLab,但是我又得到了:

在此处输入图片说明

并不断旋转。有人知道为什么吗?

单击CANCEL也无济于事,因为plotly不会产生任何图,只会产生空格

在此处输入图片说明

背心

解:

停用防火墙,然后在Windows命令提示符下运行以下命令:

jupyter lab build

细节:

This turned out to be a firewall problem, and I'm not sure why it would not be prompted as such in the JupyterLab interface. The following command in a windows command prompt returned the error message below:

Command:

jupyter lab build

Output:

C:>jupyter labextension list JupyterLab v0.34.9 Known labextensions: app dir: C:\Users*******\AppData\Local\Continuum\anaconda3\share\jupyter\lab @jupyterlab/plotly-extension v0.18.2 enabled ok

Build recommended, please run jupyter lab build: @jupyterlab/plotly-extension needs to be included in build

C:>jupyter lab build [LabBuildApp] JupyterLab 0.34.9 [LabBuildApp] Building in C:\Users*******\AppData\Local\Continuum\anaconda3\share\jupyter\lab [LabBuildApp] > node C:\Users*******\AppData\Local\Continuum\anaconda3\lib\site-packages\jupyterlab\staging\yarn.js install yarn install v1.9.4 info No lockfile found. [1/4] Resolving packages... error An unexpected error occurred: "https://registry.yarnpkg.com/@jupyterlab%2fapplication: self signed certificate in certificate chain". info If you think this is a bug, please open a bug report with the information provided in "C:\Users\*******\AppData\Local\Continuum\anaconda3\share\jupyter\lab\staging\yarn-error.log".

What pointed me towards suspecting a firewall problem was this part:

self signed certificate in certificate chain

Running the same command on less rigid fire-wall settings triggers this output (shortened):

WARNING in d3-array Multiple versions of d3-array found: 1.2.4 ./~/d3-scale/~/d3-array from ./~/d3-scale/~/d3-array\src\index.js 2.2.0 ./~/d3-array from ./~/d3-array\src\index.js

Check how you can resolve duplicate packages: https://github.com/darrenscerri/duplicate-package-checker-webpack-plugin#resolving-duplicate-packages-in-your-bundle

用于“ index.html”的子html-webpack-plugin:1个资产入口点未定义= index.html [KTNU] ./node_modules/html-loader!./templates/partial.html 567字节{0} [内置] [YuTi] (webpack)/buildin/module.js 497字节{0} [内置] [aS2v] ./node_modules/html-webpack-plugin/lib/loader.js!./templates/template.html 1.22 KiB {0} [内置] [yLpj](webpack)/buildin/global.js 489字节{0} [内置] + 1个隐藏模块

而且尽管有一些警告消息,JupyterLab现在仍能产生可打印的图形,而没有任何问题:

在此处输入图片说明

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

成功导入OpenCV,但无法正常工作

点子已安装但无法正常工作

已安装Metasploit,但无法正常工作!

Xdebug 已成功安装在 Windows 上但无法正常工作

Azure功能已成功部署,但无法正常工作

在 Mac 上使用 Jhipster 和 maven 构建(并成功运行)一个 Jar,但无法在 Ubuntu 上运行它

为什么我的python安装无法正常工作?

安装google-chrome无法正常工作,为什么?

为什么我的Tomcat安装无法正常工作?

为什么大多数安装程序无法正常工作?

为什么Android IAP会初始化但无法正常工作?

我正在尝试在协议扩展中使用“ objectWillChange.send()”,但无法正常工作,为什么?

从源安装了Boost.Numpy但无法正常工作

扑医生-已安装CocoaPods,但无法正常工作

gedit`Comment Code`插件已安装但无法正常工作

我安装了熊猫但无法正常工作

已安装Ubuntu Matlab,但无法正常工作

为什么使用EXPO成功构建后无法安装React Native应用程序?

Node.js安装错误版本。为什么apt安装无法正常工作?

Maven项目成功运行但无法构建

a * pathFinding,实现无法正常工作?有什么建议?

为什么在Ubuntu 14.04上构建的WebP实用程序无法正常工作并显示库错误?

AppCenter Xamarin.Android可在设备上成功构建并安装但无法运行

DefaultListCellRenderer 工作正常但无法让 ListCellRenderer 工作

已安装工作台,但无法正常工作ubuntu 16.04

为什么SmartRefresher无法正常工作

为什么findFirstVisibleItemPosition无法正常工作?

NoScript ABE无法正常工作-为什么?

Android smootScrollToPosition 无法正常工作。为什么?