月下小生 2018-05-22 07:43 采纳率: 0%
浏览 17434
已结题

多次安装anaconda后Jupyter启动出现问题

启动jupyter后anaconda报错,报错信息如下:
[I 15:34:21.738 NotebookApp] The port 8888 is already in use, trying another port.
[I 15:34:21.786 NotebookApp] JupyterLab beta preview extension loaded from C:\Users\10034\Anaconda3\lib\site-packages\jupyterlab
[I 15:34:21.786 NotebookApp] JupyterLab application directory is C:\Users\10034\Anaconda3\share\jupyter\lab
[W 15:34:21.793 NotebookApp] Error loading server extension jupyterlab
Traceback (most recent call last):
File "C:\Users\10034\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\10034\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 1165, in run
proc = Process(cmd, **kwargs)
File "C:\Users\10034\Anaconda3\lib\site-packages\jupyterlab\process.py", line 73, in __init
_
self.proc = self._create_process(cwd=cwd, env=env)
File "C:\Users\10034\Anaconda3\lib\site-packages\jupyterlab\process.py", line 131, in _create_process
cmd[0] = which(cmd[0], kwargs.get('env'))
File "C:\Users\10034\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\10034\Anaconda3\lib\site-packages\notebook\notebookapp.py", line 1454, in init_server_extensions
func(self)
File "C:\Users\10034\Anaconda3\lib\site-packages\jupyterlab\extension.py", line 111, in load_jupyter_server_extension
info = get_app_info(app_dir)
File "C:\Users\10034\Anaconda3\lib\site-packages\jupyterlab\commands.py", line 244, in get_app_info
handler = AppHandler(app_dir, logger)
File "C:\Users\10034\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 15:34:21.975 NotebookApp] Serving notebooks from local directory: C:\Users\10034
[I 15:34:21.975 NotebookApp] 0 active kernels
[I 15:34:21.976 NotebookApp] The Jupyter Notebook is running at:
[I 15:34:21.976 NotebookApp] http://localhost:8889/?token=292dce07942e7e31c953a749027b2d327e20ad449cef8ccd
[I 15:34:21.976 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 15:34:21.977 NotebookApp]

Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8889/?token=292dce07942e7e31c953a749027b2d327e20ad449cef8ccd
[I 15:34:23.630 NotebookApp] Accepting one-time-token-authenticated connection from ::1

我猜应该是我反复安装anaconda导致的问题,请问有大佬帮忙解决吗?

  • 写回答

4条回答 默认 最新

  • rokudo666 2018-05-22 08:29
    关注

    你要么可能是安装版本不对,或者安装了多个版本python,在环境变量那里把你现在的使用的路径放到最上面去试试

    评论

报告相同问题?

悬赏问题

  • ¥15 应该如何判断含间隙的曲柄摇杆机构,轴与轴承是否发生了碰撞?
  • ¥15 vue3+express部署到nginx
  • ¥20 搭建pt1000三线制高精度测温电路
  • ¥15 使用Jdk8自带的算法,和Jdk11自带的加密结果会一样吗,不一样的话有什么解决方案,Jdk不能升级的情况
  • ¥15 画两个图 python或R
  • ¥15 在线请求openmv与pixhawk 实现实时目标跟踪的具体通讯方法
  • ¥15 八路抢答器设计出现故障
  • ¥15 opencv 无法读取视频
  • ¥15 按键修改电子时钟,C51单片机
  • ¥60 Java中实现如何实现张量类,并用于图像处理(不运用其他科学计算库和图像处理库))