Mac OS X10.9默认带了Python2.7,不过现在Python3.3.3出来了,如果想使用最新版本,赶紧升级下吧.基本步骤如下. 第1步:下载Python3.3 下载地址如下: Python3.3 这里面有windows和mac os x下的安装程序,下载那个64位的安装程序(估计现在没有用32位的mac os x的吧) 第2步: 安装下载的img文件,安装完后的目录如下: /Library/Frameworks/Python.framework/Versions/3.3 第3步:移动…
centos6.5环境下安装python2.7 解压python源码包 tar -xf Python-2.7.6.tar.xz 进入软件包目录 cd Python-2.7.6 添加配置项 ./configure --prefix=/usr/local/python27 编译 make 报错 Python build finished, but the necessary bits to build these modules were not found: _bsddb …