Detailed introduction of open source packages and environmental management System Anaconda installation and use

Source: Internet
Author: User
Tags install pandas
Anaconda is a Python release for scientific computing that supports Linux, MAC, Windows, and provides package management and environmental management capabilities that can easily resolve multiple versions of Python coexistence, switching, and various third-party package installation issues.

Anaconda is actually a software release that comes with Conda, Python, and more than 150 science packs and their dependencies. Among them, Conda is an open-source software package management system and environment management system, and virtualenv function is similar, can install Python2 and Python3 on the computer simultaneously.

Installation:

Try it, can't use Pip to install, need to download to official website, then install.

Conda use

Through the Conda Management Pack


# installation pandas$ Conda install pandas# update pandas$ conda update pandas# Delete pandas$ Conda remove pandas# search $ Conda Searches pandas

Management Environment:


# Create PY2 Python2 environment with Pandas and numpy$ Conda create-n py2 python=2 pandas numpy# activates PY2 environment through PYTHON-V can see python2.7$ Source Act Ivate py2# Exit Py2 Environment $ source deactivate# Create PY3 Python3 environment $ conda create-n py3 python=3 pandas numpy# activate PY3 environment $ source Activat E py3# py3 Install the relevant package in the environment $ Conda Install Pandas

Note: Packages installed in Py3 are not visible in Py2, Py2 is completely isolated from the PY3 environment.

The Anaconda features cross-platform, package management, and environmental management, making it ideal for quickly deploying a python environment on a new machine.

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.