首页 > 解决方案 > jupyter-notebook 命令后 jupyter-notebook 不工作

问题描述

我正在建立一个 jupyter-notebook 来处理与数据科学相关的项目。我无法正确安装它或兼容版本存在问题。我从 Anaconda Navigator 开始,它没有从它启动,也没有给出任何错误。

我按照https://jupyter.org/install中提到的步骤仍然没有启动。我已经更新了 conda、jupyter,而且我也有最新的 python。

以下是我的设置 -

(base) C:\Users\Sameer>conda info

     active environment : base
    active env location : C:\Users\Sameer\Anaconda3
            shell level : 1
       user config file : C:\Users\Sameer\.condarc
 populated config files : C:\Users\Sameer\.condarc
          conda version : 4.7.5
    conda-build version : 3.18.7
         python version : 3.6.8.final.0
       virtual packages : __cuda=9.1
       base environment : C:\Users\Sameer\Anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\Sameer\Anaconda3\pkgs
                          C:\Users\Sameer\.conda\pkgs
                          C:\Users\Sameer\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\Sameer\Anaconda3\envs
                          C:\Users\Sameer\.conda\envs
                          C:\Users\Sameer\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.7.5 requests/2.22.0 CPython/3.6.8 Windows/10 Windows/10.0.17134
          administrator : False
             netrc file : None
           offline mode : False


(base) C:\Users\Sameer>jupyter --version
jupyter core     : 4.5.0
jupyter-notebook : 5.7.8
qtconsole        : 4.5.1
ipython          : 7.6.1
ipykernel        : 5.1.1
jupyter client   : 5.2.4
jupyter lab      : 0.35.4
nbconvert        : 5.5.0
ipywidgets       : 7.4.2
nbformat         : 4.4.0
traitlets        : 4.3.2

(base) C:\Users\Sameer>python
Python 3.6.8 |Anaconda, Inc.| (default, Feb 21 2019, 18:30:04) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()

(base) C:\Users\Sameer>jupyter-notebook

我期待“jupyter-notebook”命令启动浏览器。请让我知道在哪里可以获取日志以继续进行修复。

标签: pythonanacondajupytercondajupyter-lab

解决方案


当你输入“jupyter notebook”时你的输出是什么?

您可能还会考虑使用 jupyter lab。这允许恕我直言更好的工作方式。


推荐阅读