Issue Installing Jupyter On Arch
Solution 1:
When using socket.bind()
usually you can pass it either a hostname or an ip. In particular as we oly listen on the local loopback address we can pass either localhost
or 127.0.0.1
(for ip v4) or ::1
for ip v6.
In theory both would be identical, but in practice there are number of systems where one (or the other) is problematic. It can be firewall, and antivirus seeing this binding as suspicious, or strange network configurations. While you probably still should investigate why socket.bind()
refuses localhost
(in your case), you can configure the jupyter notebook server to bind directly to 127.0.0.1 by using either : jupyter notebook --ip=127.0.0.1
, or change the configuration of jupyter notebook server with the equivalent long form option c.NotebookApp.ip='127.0.0.1'
.
Also if his is widespread on Arch (and install via the arch repo) I would suggest contacting the arch package maintainer to have a custom patch that switch the default value to 127.0.0.1
.
Post a Comment for "Issue Installing Jupyter On Arch"