Installation and simple use of anaconda under Windows

Source: Internet
Author: User

Reprinted from: http://blog.csdn.net/dq_dm/article/details/47065323

Anaconda is a completely free Python distribution (including for commercial use and redistribution). It includes over 195 of the most popular Python packagesfor, math, engineering, and data analysis.

1, Installation Anaconda

No need to install anything before, directly on the official website to download anaconda, I downloaded the python2.7,32 bit.

The files after download are:

Directly double-click the installation, you can choose the installation location (this you decide).

Once the installation is complete, we can see:

After installing Anaconda, it is equivalent to installing Python, IPython, integrated development environment Spyder, some packages, etc.

2. Python (Shell)

This is the same as the Python shell usage that we have directly installed with Python. Of course, due to the installation of Anaconda, so we can use a lot of packages here.

3. IPython3.1 IPython (Shell)

We can click Open directly, or you can enter Ipython at the command prompt like this

This is the same Ipython usage as our pip install Ipython installation.

3.2 Ipython Qtconsole

Direct Click to open,

3.3 IPython Notebook

We click Open directly, or enter Ipython.exe notebook at the command prompt.

4. Spyder (IDE) 4.1 Spyder

The biggest advantage of the Spyder is that it mimics the "working space" of MATLAB.

Direct Click to open:

4.2 Other Ides Use the Anaconda

Since the installation of Anaconda comes with the Spyder integrated development environment, there is no need for any configuration to be used directly, but other ides you install yourself need to be configured to use Anaconda.

Configure the method we can go to the official website to understand. Let's take pycharm as an example.

In fact, if Anaconda is installed before Pycharm, then there will be an option when the interpreter is selected, and we can select it directly. If you install after pycharm, we just need to manually set up the interpreter used by Pycharm.

5. Installation package

In fact, after the installation of Anaconda, basically put our common part of the package installed, but after all, only a small number of installed (we can go to the official website to see which packages are installed), there is a part of the need for us to install.

View installed packages We can enter the PIP list at the command prompt or the Package Manager Conda (Conda list) that comes with Anaconda.

5.1 Pip or Conda installation

We can enter the PIP install package name at the command prompt, or conda the install package name. The usage of Conda and Pip is basically the same (update?) Unloading? Not sure yet). However, when we install with Conda, we will not only install the currently installed packages but also prompt to update other packages that have already been installed, so I basically install them directly with PIP.

5.2 File Installation

Pip or Conda can not be installed, we will download the installation, such as EXE file (double-click installation) or WHL file (PIP installation) and so on.

6. Command Window with Anaconda

The command prompt we said above is basically the operation on the system disk. In fact, Anaconda comes with a command window. Direct Click to open

All that can be run in the command prompt can be run here, except that the path to the file has changed. For example, we enter Ipython.exe notebook in these two command windows, the default file. IPYNB is stored in a different location.

Reference documents:

1. Official website
2. Python Scientific Computing Environment recommendation--anaconda
3. Python Scientific Computing release version-anaconda
4. Installing Python 3.3 on Anaconda python for Windows

Installation and simple use of anaconda under Windows

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.