Python Anaconda package Management in Mac

Source: Internet
Author: User

But after we installed the Anaconda, the path of the module we used when we use Ipython is Anaconda path, and the module we installed with PIP can no longer be used in Ipython.

Anaconda uses tools/command Conda for package and environment management, and already contains Python and related tools.
Conda just like Pip, we also use the package when we install it

Conda Install NumPy

Such a command.

# View installed packages
Conda List
# The latest version of Conda is to search the Site-packages folder for installed packages, not on the PIP, so you can display packages installed in various ways
# View installed packages in the current environment
Conda List

# View installed packages for a specified environment
Conda list-n python34

# Find package information
Conda Search numpy< c7/># installation package
Conda install-n python34
# If you do not use-N to specify an environment name, it is installed in the current active environment
# can also be specified through a NumPy installation via a-c

# Update package
Conda update-n python34 numpy

# Delete package Conda remove-n python34 numpy
# Update Conda , keep Conda The latest
Conda update Conda

# Update Anaconda Conda update
Anaconda

# Update python
conda update Python
# Assuming the current environment is Python 3.4, Conda will upgrade Python to the current latest version of the 3.4.x series

add 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

For more detailed instructions look at this link below

Referencing http://www.jianshu.com/p/2f3be7781451

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.