PYTHON INSTALL

Python 大部分的最近版本都只是针对“三巨头”的。实际上,最新的 Linux 和 MacOS X 版
本都已经安装好了 Python——你只需查看一下是哪个版本。尽管其他平台只能找到相对较早的
2.x 对应版本,但是就 1.5 版而言这些版本也有了显著的改进。
一些平台有其对应二进制版本,可以直接安装,另外一些则需要在安装前手工编译。
Unix 衍生系统(Linux,MacOS X,Solaris,FreeBSD 等等)
正如前文所述,基于 Unix 的系统可能已经安装了 Python。最好的检查方法就是通过命令
行运行 Python,查看它是否在搜索路径中而且运行正常。只需输入:
myMac:~ wesley$ python
Python 2.4 (#4, Mar 19 2005, 03:25:10)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1671)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
">>>"
If starting Python fails, it doesn’t mean it’s not installed, just that it’s
not in your path. Hunt around for it, and if you’re unsuccessful, try building it manu-
ally, which isn’t very difficult (see “Build It Yourself” on the
next page).

转载于:https://my.oschina.net/annieduoduo/blog/71373

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值