本文介绍了在 Mac 上将 Python 升级到 2.6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将 OS X Leopard 提供的默认 python 安装 (2.5.1) 升级到最新版本.请告诉我如何实现这一目标.

I'd like to upgrade the default python installation (2.5.1) supplied with OS X Leopard to the latest version. Please let me know how I can achieve this.

谢谢

推荐答案

不要升级.

  1. 安装 ActivePython(其中 与其他人共存).
  2. 打开终端
  3. 输入python2.6
  1. Install ActivePython (which co-exists with others).
  2. Open Terminal
  3. Type python2.6

这篇关于在 Mac 上将 Python 升级到 2.6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 14:41
查看更多