Getting started with Python-install + Environment build +pip+module installation __python

Source: Internet
Author: User
Tags python script install matplotlib
Getting Started with Python
1, install Python, set environment variables

Download python:https://www.python.org/downloads/on the Python website

Double-click the install, tick the Add environment variable box (if not checked, installation completion needs to be added in the environment variable). Next...

Installation success: Windows+r, enter cmd into the command window; Enter Python, if the Python version is displayed, the installation is successful.

Like: 2, install PIP

Download get-pip.py Address: https://bootstrap.pypa.io/get-pip.py

(Search Get-pip under https://pip.pypa.io/en/stable/installing/);

Then, command line mode (windows+r, enter cmd into the command window) to run the command:

Python get-pip.py

3. Install Python module with PIP

Pip Install Cython

Pip Install H5py

Pip Install Matplotlib


4. Execute Python script

Command-line mode: Python script absolute path

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.