Summary of the situation of installing Ipython

Source: Internet
Author: User
Tags jupyter jupyter notebook

Learn about the Python learning record of a friend on the know-how and prepare to follow it. This friend used Ipython (because he mainly do scientific calculations, I will study data science in the future, feel very suitable), wine ready to install a ipython, did not expect a lot of problems.

1. Installing Ipython

The PIP3 list will find that there are ipython in the installed stuff, but when I play ipython, the command cannot be found.

( -bash: ipython: command not found ), very puzzled. So I went to stack Overflow:ipython installed but NotFound

The page is displayed as follows: Https://stackoverflow.com/questions/34441943/ipython-installed-but-not-found

The first Netizen answered in great detail. At the command line, enter:python -m IPython   之后终端进入了ipython的页面,这说明你有ipython,但是无法正常打开,怎么解决这个问题呢?我的解决办法是安装了anaconda 然后在终端运行conda install jupyter,然后就可以在终端输入ipython之后进入ipython的页面了。

2.jupyter Notebook

In the terminal input Jupyter notebook, it should be said safari to open the home page, but do not know why not open, the same stack Overflow,:ipython notebook won't start on command Line The website is as follows: Https://stackoverflow.com/questions/44057601/ipython-notebook-will-not-start-on-command-line

Here's how to fix it:

      1. Generate Jupyter Config If you don't have it:
        Jupyter notebook--generate-config (after entering this, you will create a file in the folder and display the location, type this address in the function you go to in Find, open the file with the text of your Mac, and edit it below)
      2. Use vim to open the config file and add Google Chrome value in:
        C.notebookapp.browser = U ' Chrome ' (make sure to takes out of the # comment sign) (remember to remove #), if you want to open the webpage is safari, just turn Chrome into safari Just fine.

Summary of the situation of installing Ipython

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.