Installation is simple
Pip install Ipython[notebook]
or
pip install Jupyter Notebook
The first type of installation is about to be eliminated.
After installation, enter Ipython notebook or jupyter at the command line notebook
You'll open the notebook in the browser.
But I met notebook in the browser can not open (Web connection error, do not see the interface) problem
Using the netstat command to view the port, notebook default 8888 ports are not bound to 127.0.0.1, but 192.168.2.26
Because before in the hosts inside the localhost changed to 192.168.2.26
Although you can use 192.168.2.26:8888/tree to open a page, you are always prompted for authentication and the token provided by the input notebook has been wrong.
Therefore in the Hosts file inside the localhost change to 127.0.0.1 can be normal access to the
The reasons may be as follows:
The default access address for notebook is http://localhost:8888/
localhost may be hard-coded to 127.0.0.1, and once localhost is not this value, it will go wrong.