Python installation python

Source: Internet
Author: User

1. Installation version: Python 3.6.3

1-2.OS:Linux (CentOS7)

2. Specific operation:

2-1. Download python

[Email protected] ~]$ wget https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz

--2017-10-14 11:23:50--https://www.python.org/ftp/python/3.6.3/Python-3.6.3.tgz

Www.python.org (www.python.org) をdnsに asked いあわせています ... 151.101.72.223, 2a04:4e42:11::223

Www.python.org (www.python.org) |151.101.72.223|:443に connect Yobitsugi しています ... Connect Yobitsugi しました.

httpによる meet Yobitsugi Request しました, 対応 answer to っています ... OK

Cheung さを: 22673115 (22M) [Application/octet-stream]

' Python-3.6.3.tgz ' occupies in store

100%[======================================>] 22,673,115 1.06mb/s hours 22s

2017-10-14 11:24:12 (kb/s)-' python-3.6.3.tgz ' 面責 saved [22673115/22673115]

2-2. Switch the package required for Administrator account installation

[Email protected] ~]$ su

パスワード:( input manager secret code )

[Email protected] sdmowner]# yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel Readline-devel Tk-devel

Reading cups komagome んだプラグイン:fastestmirror, langpacks

Repository ' dag ': Error parsing config:error parsing "enabled = ' 1 #\xe3\x81\x93\xe3\x81\x93\xe3\x82\x921\xe3\x81\xab\ Xe3\x81\x99\xe3\x82\x8b\xe3\x81\xa8\xe5\xb8\xb8\xe3\x81\xab\xe3\x81\x93\xe3\x81\xae\xe3\x83\xaa\xe3\x83\x9d\ Xe3\x82\xb8\xe3\x83\x88\xe3\x83\xaa\xe3\x82\x92\xe5\x88\xa9\xe7\x94\xa8\xe3\x81\x99\xe3\x82\x8b\xe3\x82\x88\ xe3\x81\x86\xe3\x81\xab\xe3\x81\xaa\xe3\x82\x8b ' ": Invalid Boolean value

Repodata is over 2 weeks old. Install Yum-cron? Or Run:yum Makecache Fast

adobe-linux-x86_64 | 2.9 KB 00:00

(In the middle .....) )

トランザクションの to

================================================================================

インストール7パッケージ (+ 20 dependent Shimonoseki relationship のパッケージ)

Update 2パッケージ (+ 30 dependencies Shimonoseki Relationship のパッケージ)

Combined capacity: up to M

Roa ダウンロード Capacity: one M

Is this OK [y/d/n]: y

$ tar zxvf python-3.6.3.tgz

$ CD Python-3.6.3

$./configure--prefix=/usr/local/python

$ make && make install

Collecting Setuptools

Collecting Pip

Installing collected Packages:setuptools, Pip

Successfully installed pip-9.0.1 setuptools-28.8.0

[Email protected] python-3.6.3]# ln-s/usr/local/python/bin/python3/usr/local/bin/python

[Email protected] python-3.6.3]# ln-s/usr/local/python/bin/pip3.6/usr/local/bin/pip

[Email protected] python-3.6.3]# Python--version

Python 3.6.3

Python installation python

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.