IPython notebook installation and installation of the Web page can not open the problem __python

Source: Internet
Author: User
Tags jupyter jupyter notebook

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.