Skip to content

Cannot start jupyter notebook #4303

@vrastil

Description

@vrastil

When I try to start (any) jupyter notebook directly, I get the following error:

 Traceback (most recent call last):
  File "/usr/bin/jupyter-notebook", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/jupyter_core/application.py",     line 266, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/usr/lib/python2.7/site-    packages/traitlets/config/application.py", line 658, in launch_instance
    app.start()
  File "/usr/lib/python2.7/site-packages/notebook/notebookapp.py",     line 1784, in start
    self.launch_browser()
  File "/usr/lib/python2.7/site-packages/notebook/notebookapp.py",     line 1742, in launch_browser
    with open(fd, 'w', encoding='utf-8') as fh:
TypeError: coercing to Unicode: need string or buffer, int found

However, if I only start jupyter on some directory, I can open notebooks through browser just fine.
I installed jupyter through pip (not using anaconda).

jupyter version: 4.4.0
python version: 2.7.15
OS: Fedora 29

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions