Discuss / Python / Anaconda jupyterlab 无法启动,求解决方法

Anaconda jupyterlab 无法启动,求解决方法

Topic source

鹏碰2013

#1 Created at ... [Delete] [Delete and Lock User]

Anaconda安装完成后,点击jupyterlab的Launch,提示Jupyter Notebook 404 : Not Found You are requesting a page that does not exist! 然后Anaconda弹出一个窗口,提示内容如下(关闭8888/8889/8890端口后也是一样的提示): [I 10:24:45.327 LabApp] The port 8888 is already in use, trying another port. [I 10:24:45.328 LabApp] The port 8889 is already in use, trying another port. [I 10:24:45.329 LabApp] The port 8890 is already in use, trying another port. [I 10:24:45.346 LabApp] JupyterLab beta preview extension loaded from C:\Users\Administrator\Anaconda3\lib\site-packages\jupyterlab [I 10:24:45.347 LabApp] JupyterLab application directory is C:\Users\Administrator\Anaconda3\share\jupyter\lab [W 10:24:45.352 LabApp] Error loading server extension jupyterlab Traceback (most recent call last): File "C:\Users\Administrator\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 321, in init self._run(['node', 'node-version-check.js'], cwd=HERE, quiet=True) File "C:\Users\Administrator\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 1165, in _run proc = Process(cmd, **kwargs) File "C:\Users\Administrator\Anaconda3\lib\site-packages\jupyterlab\process.py", line 73, in init self.proc = self._create_process(cwd=cwd, env=env) File "C:\Users\Administrator\Anaconda3\lib\site-packages\jupyterlab\process.py", line 131, in _create_process cmd[0] = which(cmd[0], kwargs.get('env')) File "C:\Users\Administrator\Anaconda3\lib\site-packages\jupyterlab\jlpmapp.py", line 59, in which raise ValueError(msg) ValueError: Please install nodejs 5+ and npm before continuing installation. nodejs may be installed using conda or directly from the nodejs website.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\Administrator\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 1454, in init_server_extensions func(self) File "C:\Users\Administrator\Anaconda3\lib\site-packages\jupyterlab\extension.py", line 111, in load_jupyter_server_extension info = get_app_info(app_dir) File "C:\Users\Administrator\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 244, in get_app_info handler = _AppHandler(app_dir, logger) File "C:\Users\Administrator\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 324, in init raise ValueError(msg) ValueError: Please install nodejs 5+ and npm before continuing installation. nodejs may be installed using conda or directly from the nodejs website. [I 10:24:45.521 LabApp] Serving notebooks from local directory: C:\Users\Administrator [I 10:24:45.521 LabApp] 0 active kernels [I 10:24:45.521 LabApp] The Jupyter Notebook is running at: [I 10:24:45.521 LabApp] http://localhost:8891/?token=704cd6dc9f96ddef1113f59281aff531ceb21118943ffef7 [I 10:24:45.521 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 10:24:45.522 LabApp]

Copy/paste this URL into your browser when you connect for the first time, to login with a token: http://localhost:8891/?token=704cd6dc9f96ddef1113f59281aff531ceb21118943ffef7 [I 10:24:45.584 LabApp] Accepting one-time-token-authenticated connection from ::1 [W 10:24:45.648 LabApp] 404 GET /lab?token=5edbcd9d265a76f52dfe6e73692e2e5e1a2865b2b6ba7923 (::1) 64.00ms referer=None

鹏碰2013

#2 Created at ... [Delete] [Delete and Lock User]

已解决

davidwbnu

#3 Created at ... [Delete] [Delete and Lock User]

你好,我也遇到同样的问题了,如何解决?多谢~

说实话,我特意注册了一个微博, 有个问题我真是不吐不快! 我很想@以下碰碰2013 廖这个网站也算是造福了广大python爱好者了, 你看你这个问题,你提出了一个问题,标注了一个以解决, 这种格式无论是CSDN,还是各种国内社区,都见到过很多 问了问题,从来不分享问题的答案,说实话我没碰到你说的这个问题, 但是我回想起来以前碰到的各种情况,一通搜索,全特么是已解决,然后就没影子了!真是法科

倡议大家保持共享精神,看看stackover,大部分问题都能找到答案,而且自己解决的问题绝对不是只标注一个已解决就不管了,都会分享一下自己的解决方案,谁也不敢保证自己碰到的问题永远都是个案。


说完了,谁爱喷谁喷,不舍的分享,别来问问题,不信没人碰到过 “某某某问题求大神解答,以下是报错:


%¥¥%% ¥%%…………&……%¥ ¥##@

谢谢已经解决了


请问怎么解决的?

---

再无回音

顶楼上兄弟。

醉后诀

#6 Created at ... [Delete] [Delete and Lock User]

果然已经凉了

确实。不能撂下问题然后已解决就没有下文。

“Copy/paste this URL into your browser when you connect for the first time, to login with a token: http://localhost:8891/?token=704cd6dc9f96ddef1113f59281aff531ceb21118943ffef7”

貌似这位同学的jupyter不能启动,然后上面的英语解释说明的很清晰,粘贴复制以下的链接地址到你的浏览器中,当你第一次运行jupyter的时候,然后问题就解决了吧。


  • 1

Reply