Mac install Python and Jupyter notebook

Source: Internet
Author: User
Tags jupyter jupyter notebook
mac install Python and Jupyter notebook python installation (anaconda)

Mac comes with Python2 version of Python, it's usually 3, Anaconda is a python version, anaconda2 corresponds to Python2 version, anaconda3.6 for python3 version, just download HTTPS on the website ://www.continuum.io/downloads/the appropriate version.
After downloading can be installed by default, direct installation complete.
After the installation is complete, do the following and activate it. After that, install the Python library with Conda install XXX, and the PIP install XXX Library is in the default Python2 environment.

Conda-h 
# Create an environment with a name of PYTHON36 based on python3.6 version Conda create--name python3 python=3.6 
# Activate this environment
activate Python3 
Source Activate Python3 # linux/mac
# Then check the Python version, which shows 3.6
python-v  
# exit the current environment
Jupyter Notebook

Jupyter Notebook is a good one that can run the code, write the document interactive notebook, very convenient. The installation method is:
In the terminal input Conda install jupyter can be.
The way to open Jupyter notebook is:
In the terminal input Jupyter notebook, will jump to the browser.

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.