Python(英语发音:/ˈpaɪθən/), 是一种面向对象、解释型计算机程序设计语言,由1989年底发明。python具有简单、易学、免费、开源、可移植性、解释性、可嵌入性等特点,是一种不受局限、跨平台的开源编程语言,它功能强大且简单易学,因而得到了广泛应用和支持。 |
地址: http://www.python.org/getit/
版本: Python-2.7.3.tgz
setuptoos下载地址:http://pypi.python.org/pypi/setuptools#downloads
版本:setuptools-0.6c11.tar.gz(md5)
采用wget方式下载:wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e2.安装Python 查看系统自带的python: 计划安装2.7.3,新建目录--下载安装包: 解压
tar -zvxf Python-2.7.3.tgz解压后,安装Python:
./configure --prefix=/usr/local/python2.7.3 make make install安装成功后目录为: 建立软链接: 3.安装setuptools
采用wget下载:
[root@biao Python-2.7.3]# pwd /python/Python-2.7.3 [root@biao Python-2.7.3]# cd .. [root@biao python]# ll total 13832 drwxr-x--- 18 1000 1002 4096 Dec 5 18:05 Python-2.7.3 -rwxr-xr-x 1 root root 14135620 Dec 5 17:42 Python-2.7.3.tgz [root@biao python]# wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e --18:18:59-- http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz Resolving pypi.python.org... 140.211.10.73 Connecting to pypi.python.org|140.211.10.73|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 256862 (251K) [application/octet-stream] Saving to: `setuptools-0.6c11.tar.gz' 100%[======================================================================] 256,862 126K/s in 2.0s 18:19:25 (126 KB/s) - `setuptools-0.6c11.tar.gz' saved [256862/256862]
原文来自:http://www.linuxeye.com/Linux/1762.html
本文地址:https://www.linuxprobe.com/python2.7-install.html作者:陶武杰,审核员:苏西云
本文原创地址:https://www.linuxprobe.com/python2-7-install.html
标签:python,pypi,Python2.7,Python,setuptools,Linux,org,2.7,搭建 From: https://www.cnblogs.com/linuxpro/p/17375938.html