Mac installation using Anaconda Python 3.6__python

Source: Internet
Author: User

Anaconda, in short, is a packaged Python collection with package management and environmental management tools and Python packages for data science computing.

Download and install https://www.anaconda.com/download/#macos from here. After the installation is complete, set the path as follows:

# Add the Anaconda Bin directory to PATH, depending on the version, it may also be ~/anaconda3/bin
echo ' Export path= ~/anaconda2/bin: $PATH ' ' >> ~/. BASHRC
# Update BASHRC for immediate effect
source ~/.BASHRC

After the configuration is complete, check to see if it is correct by the command conda–version command.

Package Management: Anaconda can easily manage packages, command Conda install-n python36 numpy install python36 packages in a setup environment.

Environmental Management: Now we need to install python3.6, run the command Conda create–name python36 python=3.6 anaconda, activate via source activate Python36.

Set up a domestic mirror:

# Add Anaconda Tuna Mirror
conda config--add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
# The mirror address in Tuna's help is enclosed in quotes and needs to be removed

# set to display channel address
Conda config--set show_channel_urls Yes
Related Article

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.