Python installation, python

Source: Internet
Author: User

Python installation, python

Install Python in Win10

1. Download the Python installation package from the official website and click Next to install it.

After installing Python, set the environment variables, right-click my computer --> properties --> advanced system settings --> environment variables --> PATH --> edit --> Add the Python installation PATH to the end --> click confirm.

After the installation is successful, enter python in the cmd console, as shown in:

2. Download and install pip from the official website

After the download is complete, decompress the package to a folder, use the cmd console to enter the decompressed directory, and enter python setup. py install. After installation, you also need to set the environment variable and add C: \ Python27 \ Scripts;

 

3. Install the algorithm library

Installation sequence: numpy --> scipy --> matplotlib --> scikit-learn, and then install other algorithm libraries, such as Theano.

Decompress the downloaded Algorithm Library to the specified folder, and place it in C: \ Users \ spider \ Downloads. Go to the cmd console to enter the folder, enter the "pip install file name" command in sequence. If the installation is successful, a message is displayed, as shown in figure (red indicates the input command, and yellow indicates the algorithm library installation is successful ):

Python and Algorithm Library have been installed. Next, install and configure the development 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.