Python is a powerful programming language that provides many modules for scientific computing, including NumPy, scipy, and Matplotlib. To use Python for scientific computing requires one by one of the required modules to be installed, which may be dependent on other software packages or libraries, making it relatively cumbersome to install and use. Fortunately, someone is doing this kind of thing, compiling the modules needed for scientific computing and then packaging them for use in the form of a release, Anaconda is one of the most popular scientific computing distributions.
Home: https://store.continuum.io/cshop/anaconda/
Features of Anaconda:
- Contains a number of popular science, math, engineering, data Analysis Python package http://docs.continuum.io/anaconda/pkgs.html
- Fully open source and free
- Additional acceleration, optimization is charged, but for academic use can apply for free license
- Full platform support: Linux, Windows, Mac
- Support Python 2.6, 2.7, 3.3, 3.4, free to switch
Installation
Installing Pyenv
After installing Anaconda, there will be two versions of Python:anaconda and Python in the system.
To ensure that the two Python versions do not interfere with each other, specialized tools are needed to manage multiple versions of Python. The tool chosen here is pyenv.
The installation of pyenv can be consulted on the pyenv of Python multiple versions coexistence.
Of course, you can also download it directly from its official website without using pyenv: Http://continuum.io/downloads. At this point the user is responsible for possible version conflicts.
Installing Anaconda
Anaconda supports Python 2 and Python 3, but the two are separate and users need to choose Python 2 or Python 3. Of course, with the Pyenv version management feature, it's no problem to have two versions at the same time.
Install the anaconda that supports Python 2.7:
Pyenv Install anaconda-2.0. 1
Install the anaconda that supports Python 3.4:
Pyenv Install anaconda3-2.0. 1
Apply for a free academic license
For students, free academic license can be applied to install additional feature packs to accelerate the calculation process.
Application Address: Https://store.continuum.io/cshop/academicanaconda
After applying, you will get a license file and place it in the ~/.continuum directory.
Install the additional Feature Pack
Install the additional Feature Pack
Conda Update Condaconda install Accelerateconda install Iopro
Mounting module
Anaconda has come with a large number of common modules in scientific calculations that can be used directly. Sometimes you need to install some other Python modules.
Conda
Anaconda comes with the Conda command for installing and updating modules, such as:
Conda Install Scipyconda Update scipy
Pip
Pip is a python-brought module installation tool, such as:
--upgrade
Upgrade Anaconda
After the new version is released, you can use Pyenv to install the latest version of Anaconda or upgrade it with the Anaconda's own Update tool:
Conda Update Condaconda Update anaconda
Python Scientific Computing release-anaconda