Machine learning Practice __ Install Python Environment

Source: Internet
Author: User

Environment:Win7 64-bit system

First step: install Python

1, download python2.7.3 64-bit MSI version (here Select a lot of 2.7 of the other higher version resulting in the installation of Setuptools failure, do not know what the reason, for the time being, anyway, choose this version can be)

2, install Python, all next point down.

3, configure the environment variables, I am the default to add C:\Python path can be

Step Two: install Setuptools and Pip (you can easily install the third-party packages and modules inside Python)

  1, get two files, respectively ez_setup.py and get-pip.py

2. Place the two files under C: \ and the command line to execute the Python ez_setup.py and Python get-pip.py in the directory below, you can find the download related installation package, and install the final prompt successful

3. Some. exe files will be generated under C:\Python\Scripts.

  

  

Step three: Install the NumPy module

1, as long as a command pip install NumPy, wait for the automatic download installation success

2. Test whether the NumPy is installed successfully:

Entering the Python environment, importing the NumPy module without error, indicating that the module was successfully installed

  

  

Machine learning Practice __ Install Python Environment

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.