Python Basics "First article" Environment deployment

Source: Internet
Author: User

One, the Windows Infrastructure Environment Configuration deployment

1.1. Download the Python installation program

: Https://www.python.org/ftp/python/3.4.1/python-3.4.1.msi

1.2. Running Python-3.4.1.msi

1.3, here can choose the installation path (default)

1.4, all the way to the default next until the installation is complete

1.5. Setting Environment variables

1.5.1, My Computer----right-click Properties----Advanced system settings

1.5.2, Environment variables

1.5.3 Find the "path" value in the system variable if it is not added, the name of the path value for your python installation path

(Default is C:\Pythonxx)

1.5.4, edit path to add "C:\Python34"(here is the installation path of Python if not by default, please fill in your own situation)

1.5.5, open cmd input python display python interactive interface

Second, the Linux Basic Environment configuration deployment

Linux is relatively simple and can be divided into two different ways

2.1, RPM Package installation method

1 #yuminstall python

2.2. Source Package Installation and compilation method

2.2.1, download source code

1 https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz

2.2.2, unzip, compile, install

tar -zxvf python-3.4. 1 . tgz# CD Python-3.4. 1 # . /make makeinstall# Python3

Note: Here I take 3.4 as an example, other versions of the same installation, in addition to modify the Python version will affect the use of Yum

Recommended upgrade do not uninstall or overwrite the original Python version

Python Basics "First article" Environment deployment

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.