jupyter notebook 启动不起来

2018-11-22  本文已影响0人  老急急

解决方法出处:

https://blog.csdn.net/xyh421/article/details/79504350
https://blog.csdn.net/carroll_/article/details/79698316

![@URPSS65IT48BMC6_7BE.png

报错内容

C:\Users\Administrator>jupyter notebook
Traceback (most recent call last):
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\Scripts\jupyter-notebook.EXE\__main__.py", line 9, in <module>
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\jupyter_core\application.py", line 266, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\traitlets\config\application.py", line 657, in launch_instance
    app.initialize(argv)
  File "<decorator-gen-7>", line 2, in initialize
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error
    return method(app, *args, **kwargs)
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\notebook\notebookapp.py", line 1629, in initialize
    self.init_webapp()
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\notebook\notebookapp.py", line 1379, in init_webapp
    self.jinja_environment_options,
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\notebook\notebookapp.py", line 158, in __init__
    default_url, settings_overrides, jinja_env_options)
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\notebook\notebookapp.py", line 270, in init_settings
    nbextensions_path=jupyter_app.nbextensions_path,
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\notebook\notebookapp.py", line 1066, in nbextensions_path
    from IPython.paths import get_ipython_dir
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\IPython\__init__.py", line 55, in <module>
    from .terminal.embed import embed
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\IPython\terminal\embed.py", line 15, in <module>
    from IPython.core.interactiveshell import DummyMod, InteractiveShell
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\IPython\core\interactiveshell.py", line 63, in <module>
    from IPython.utils import io
  File "c:\users\administrator\appdata\local\programs\python\python37\lib\site-packages\IPython\utils\io.py", line 87, in <module>
    devnull = open(os.devnull, 'w')
FileNotFoundError: [Errno 2] No such file or directory: 'nul'
上一篇下一篇

猜你喜欢

热点阅读