Installation and testing of Mac Python + jupyter

Source: Internet
Author: User
Tags jupyter jupyter notebook
Mac Install Jupyter, it is recommended to install pyenv to manage your Python version and establish an independent working environment.


Directory

1. Jupyter Introduction (source Baidu Encyclopedia)

2. Jupyter Installation

3. Test and change the root directory of Jupyter


1. Jupyter Introduction (source Baidu Encyclopedia)

Jupyter Notebook (formerly known as IPython Notebook) is an interactive notebook that supports the running of more than 40 programming languages.

The essence of Jupyter notebook is a WEB application that facilitates the creation and sharing of document documentation for the literature, supporting real-time code, mathematical equations, visualization and markdown. Applications include: Data cleansing and conversion, numerical simulation, statistical modeling, machine learning, and so on.


2. Jupyter installation

First get into your Python environment, like my environment is env363. Command: pyenv Activate env363


and Pip install Jupyter on it.


3. Test and change the root directory of Jupyter

into your Python environment.

Run command: Jupyter notebook

The following screen can be seen:

To change the root directory:

into your Python environment

Run command: Jyputer notebook--generate-config

is generated in the/users/lilihan/.jupyter directory

jupyter_notebook_config.py file

Open File Find C.notebookapp.notebook_dir set this value to your directory, for example, my: C. Notebookapp.notebook_dir = '/users/lilihan/documents/jupyter_workpalce '

Remember to remove the front of the # annotation , I this wise ...


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.