Skip to main content
Topic: Jypyter OSError: [Errno 22] Invalid argument (Read 481 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Jypyter OSError: [Errno 22] Invalid argument

Ive had jupyter working on Artix for a while. Unfortunately now it's broken.
I've tried reinstalling, upgrading etc... and yet the problem persists.
I've read this error usually comes up when you don't have the kernels installed, but I do.
Any help is appreciated.

Here's the full error

Traceback (most recent call last):
  File "/bin/jupyter-notebook", line 33, in <module>
    sys.exit(load_entry_point('notebook==6.4.8', 'console_scripts', 'jupyter-notebook')())
  File "/home/user/.local/lib/python3.10/site-packages/jupyter_core/application.py", line 264, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/home/user/.local/lib/python3.10/site-packages/traitlets/config/application.py", line 846, in launch_instance
    app.start()
  File "/home/user/.local/lib/python3.10/site-packages/notebook/notebookapp.py", line 2321, in start
    success = self._bind_http_server()
  File "/home/user/.local/lib/python3.10/site-packages/notebook/notebookapp.py", line 1796, in _bind_http_server
    return self._bind_http_server_unix() if self.sock else self._bind_http_server_tcp()
  File "/home/user/.local/lib/python3.10/site-packages/notebook/notebookapp.py", line 1822, in _bind_http_server_tcp
    self.http_server.listen(port, self.ip)
  File "/home/user/.local/lib/python3.10/site-packages/tornado/tcpserver.py", line 151, in listen
    sockets = bind_sockets(port, address=address)
  File "/home/user/.local/lib/python3.10/site-packages/tornado/netutil.py", line 161, in bind_sockets
    sock.bind(sockaddr)

 

Re: Jypyter OSError: [Errno 22] Invalid argument

Reply #1
What exactly have you done to produce this error?