How to use Python's scientific Computing library quickly and gracefully under Windows?

Source: Internet
Author: User

Python is a powerful programming language that provides many modules for scientific computing, including NumPy, scipy, Pandas, 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.

The default version of Anaconda that we downloaded from the website (link 1) already has many libraries (link 2), including NumPy.

Although Anaconda has come with a large number of common modules in scientific calculations, it can be used directly. Sometimes you need to install some other Python modules. Like what:

Conda

Anaconda comes with the Conda command for installing and updating modules, such as:

1 Conda Install scipy 2 Conda update scipy

After installing the libraries we need, if we use the Spyder installed with Anaconda as the development environment, this article ends the o_o

In fact, I've been using Pycharm as the IDE for Python development. In the 5 hours before writing this article I have been trying a variety of different ways to make my Computer pycharm can successfully install the NumPy library, browse through the major Chinese and foreign website introduction of the method to let me realize this is a very annoying problem. The various versions of WHL files that include, but are not limited to, PIP commands are invalidated for a variety of reasons. Extremely disappointed I tried to install the Anaconda, in this interface (link 3) I found

"How to set up a IDE to use Anaconda"

It introduces several methods of using Anaconda in software, including Pycharm.

    • Spyder
    • Python Tools for Visual Studio (PTVS)
    • Pycharm
    • Eclipse & PyDev
    • Wing IDE
    • Ninja IDE

So, after configuring Pycharm call Anaconda, we can invoke a variety of scientific computing libraries happily in Pycharm.

The steps are as follows:

1. Installing Anaconda

2. Installing Pycharm

3. Add Anaconda Python.exe to Pycharm's Files>>settings>>project Interpreter>>add Local. After the application, you can invoke various Anaconda libraries.

A little curve to the taste of salvation.

How to use Python's scientific Computing library quickly and gracefully under Windows?

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.