python 2.7.5在5月发布但pythonbrew无法识别?

时间:2013-07-13 12:55:47

标签: python pythonbrew

几个月前,pythonbrew因为一个从未解决的奇怪编译错误而安装2.7.3失败了。

现在我运行了pythonbrew清理并且失败了:

OSError: [Errno 13] Permission denied: '/Users/Ceti/.pythonbrew/build/Python2.7.3/build/lib.macosx-10.8-x86_64-2.7/_AE.so'

为什么pythonbrew用root用户在我的帐户下安装文件?我手动删除了Python-2.7.3目录。

现在我正在尝试使用Python的brew安装最新的2.7版本,但是:

Ceti$ pythonbrew update
You are already running the installed latest version of pythonbrew.

Ceti$ pythonbrew install 2.7.4
ERROR: Unknown python version: `Python-2.7.4`
Ceti$ pythonbrew install 2.7.5
ERROR: Unknown python version: `Python-2.7.5`

Ceti$ pbi http://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz
Downloading Python-2.7.5.tgz as /Users/Ceti/.pythonbrew/dists/Python-2.7.5.tgz
curl: (37) Couldn't open file /Users/Ceti/http%3A/www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz
ERROR: Failed to download.
Failed to fetch.


Ceti$ pbi /Users/Ceti/.pythonbrew/dists/Python-2.7.5.tgz
Use the previously fetched /Users/Ceti/.pythonbrew/dists/Python-2.7.5.tgz
Extracting Python-2.7.5.tgz into /Users/Ceti/.pythonbrew/build/Python-2.7.5

This could take a while. You can run the following command on another shell to track the status:

tail -f“/Users/Ceti/.pythonbrew/log/build.log”

Patching Python-2.7.5
ERROR: Failed to patch `/Users/Ceti/.pythonbrew/build/Python-2.7.5`.
1: failed to `(patch -p0 < "/Users/Ceti/.pythonbrew/patches/macosx/python27/patch-Modules- posixmodule.diff") >> '/Users/Ceti/.pythonbrew/log/build.log' 2>&1`

如何安装最新版本?

0 个答案:

没有答案