ipython notebook doesn't work: OSError: [Errno None not found] 2

Stepan Yakovenko

I follow instruction and run ipython.exe notebook:

> [TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is
> deprecated and will be removed in future versions.
> [TerminalIPythonApp] WARNING | You likely want to use `jupyter
> notebook` in the future Traceback (most recent call last):   File
> "C:\Miniconda3\Scripts\ipython-script.py", line 5, in <module>
>     sys.exit(IPython.start_ipython())   File "C:\Miniconda3\lib\site-packages\IPython\__init__.py", line 119, in
> start_ipython
>     return launch_new_instance(argv=argv, **kwargs)   File "C:\Miniconda3\lib\site-packages\traitlets\config\application.py",
> line 657, in launch_instance
>     app.initialize(argv)   File "<decorator-gen-110>", line 2, in initialize   File
> "C:\Miniconda3\lib\site-packages\traitlets\config\application.py",
> line 87, in catch_config_error
>     return method(app, *args, **kwargs)   File "C:\Miniconda3\lib\site-packages\IPython\terminal\ipapp.py", line 300,
> in initialize
>     super(TerminalIPythonApp, self).initialize(argv)   File "<decorator-gen-7>", line 2, in initialize   File
> "C:\Miniconda3\lib\site-packages\traitlets\config\application.py",
> line 87, in catch_config_error
>     return method(app, *args, **kwargs)   File "C:\Miniconda3\lib\site-packages\IPython\core\application.py", line
> 446, in initialize
>     self.parse_command_line(argv)   File "C:\Miniconda3\lib\site-packages\IPython\terminal\ipapp.py", line 295,
> in parse_command_line
>     return super(TerminalIPythonApp, self).parse_command_line(argv)   File "<decorator-gen-4>", line 2, in parse_command_line   File
> "C:\Miniconda3\lib\site-packages\traitlets\config\application.py",
> line 87, in catch_config_error
>     return method(app, *args, **kwargs)   File "C:\Miniconda3\lib\site-packages\traitlets\config\application.py",
> line 514, in parse_command_line
>     return self.initialize_subcommand(subc, subargv)   File "C:\Miniconda3\lib\site-packages\IPython\core\application.py", line
> 236, in initialize_subcommand
>     return super(BaseIPythonApplication, self).initialize_subcommand(subc, argv)   File "<decorator-gen-3>",
> line 2, in initialize_subcommand   File
> "C:\Miniconda3\lib\site-packages\traitlets\config\application.py",
> line 87, in catch_config_error
>     return method(app, *args, **kwargs)   File "C:\Miniconda3\lib\site-packages\traitlets\config\application.py",
> line 445, in initialize_subcommand
>     subapp = import_item(subapp)   File "C:\Miniconda3\lib\site-packages\ipython_genutils\importstring.py",
> line 31, in import_item
>     module = __import__(package, fromlist=[obj]) ImportError: No module named 'notebook'

Now if I run jupyter notebook, I get:

C:\Miniconda3\Scripts>jupyter notebook Traceback (most recent call last): File "C:\Miniconda3\Scripts\jupyter-script.py", line 5, in sys.exit(jupyter_core.command.main()) File "C:\Miniconda3\lib\site-packages\jupyter_core\command.py", line 186, in main _execvp(command, sys.argv[1:]) File "C:\Miniconda3\lib\site-packages\jupyter_core\command.py", line 104, in _execvp raise OSError('%r not found' % cmd, errno.ENOENT) OSError: [Errno None not found] 2

I need to save my work as ipython notebook. How can I do it?

postelrich

Like zwol said, your installation might have gotten screwed up. There are two things you can do.

  1. Completely remove your miniconda installation and try again.
  2. Create a new environment and install ipython/jupyter there. I would try this first.

    conda create -n myenv python=3
    activate myenv
    conda install jupyter
    jupyter notebook

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

plot() doesn't work on IPython notebook

From Dev

matplotlib.legend.set_zorder() doesn't work in ipython notebook

From Dev

matplotlib.legend.set_zorder() doesn't work in ipython notebook

From Dev

IPython Notebook throws ImportError – IPython doesn't

From Dev

IPython Notebook throws ImportError – IPython doesn't

From Dev

django extensions OSError: [Errno 2] "dot.exe" not found in path

From Dev

Python OSError: [Errno 2]

From Dev

Why doesn't BokehJS show in a rendered Jupyter/IPython notebook on GitHub?

From Dev

pandas plot doesn't show in ipython notebook as inline

From Dev

Notebook trackpad doesn't work on Ubuntu 15.10

From Dev

Running 'ipython notebook' gets [Errno 49] Can't assign requested address

From Dev

Ipython notebook on 2 columns

From Dev

display:none doesn't work for option

From Dev

Python: try/except OSerror errno 2

From Dev

Python: try/except OSerror errno 2

From Dev

Odoo: OSError: [Errno 2] No such file or directory

From Dev

IPython Notebook not opening; throws "Symbol Not Found" error

From Dev

IPython Notebook not opening; throws "Symbol Not Found" error

From Dev

iPython/jupyter notebook fails to start "image not found"

From Dev

plotting in ipython notebook in 2 steps

From Dev

Why doesn't IPython's timeit work with set literals?

From Dev

IPython sympy math pretty print doesn't work

From Dev

command not found handle doesn't work for url

From Dev

Windows 8.1 ASUS notebook touchpad doesn't work properly

From Dev

Display:none; in select multiple doesn't work on IE 8

From Dev

Linux Script: if [ "$hostname" != "(none)" ] comparison doesn't work

From Dev

outline-style: none doesn't work as a class

From Dev

Display:none; in select multiple doesn't work on IE 8

From Dev

Why doesn't ${#$2} work?

Related Related

  1. 1

    plot() doesn't work on IPython notebook

  2. 2

    matplotlib.legend.set_zorder() doesn't work in ipython notebook

  3. 3

    matplotlib.legend.set_zorder() doesn't work in ipython notebook

  4. 4

    IPython Notebook throws ImportError – IPython doesn't

  5. 5

    IPython Notebook throws ImportError – IPython doesn't

  6. 6

    django extensions OSError: [Errno 2] "dot.exe" not found in path

  7. 7

    Python OSError: [Errno 2]

  8. 8

    Why doesn't BokehJS show in a rendered Jupyter/IPython notebook on GitHub?

  9. 9

    pandas plot doesn't show in ipython notebook as inline

  10. 10

    Notebook trackpad doesn't work on Ubuntu 15.10

  11. 11

    Running 'ipython notebook' gets [Errno 49] Can't assign requested address

  12. 12

    Ipython notebook on 2 columns

  13. 13

    display:none doesn't work for option

  14. 14

    Python: try/except OSerror errno 2

  15. 15

    Python: try/except OSerror errno 2

  16. 16

    Odoo: OSError: [Errno 2] No such file or directory

  17. 17

    IPython Notebook not opening; throws "Symbol Not Found" error

  18. 18

    IPython Notebook not opening; throws "Symbol Not Found" error

  19. 19

    iPython/jupyter notebook fails to start "image not found"

  20. 20

    plotting in ipython notebook in 2 steps

  21. 21

    Why doesn't IPython's timeit work with set literals?

  22. 22

    IPython sympy math pretty print doesn't work

  23. 23

    command not found handle doesn't work for url

  24. 24

    Windows 8.1 ASUS notebook touchpad doesn't work properly

  25. 25

    Display:none; in select multiple doesn't work on IE 8

  26. 26

    Linux Script: if [ "$hostname" != "(none)" ] comparison doesn't work

  27. 27

    outline-style: none doesn't work as a class

  28. 28

    Display:none; in select multiple doesn't work on IE 8

  29. 29

    Why doesn't ${#$2} work?

HotTag

Archive