We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/Users/alexgao/.pythonbrew/build/Python-2.7.5
$ pythonbrew install 2.7.5 Downloading Python-2.7.5.tgz as /Users/alexgao/.pythonbrew/dists/Python-2.7.5.tgz
Extracting Python-2.7.5.tgz into /Users/alexgao/.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/alexgao/.pythonbrew/log/build.log"
Patching Python-2.7.5 ERROR: Failed to patch /Users/alexgao/.pythonbrew/build/Python-2.7.5. 1: failed to (patch -p0 < "/Users/alexgao/.pythonbrew/patches/macosx/python27/patch-Modules-posixmodule.diff") >> '/Users/alexgao/.pythonbrew/log/build.log' 2>&1
(patch -p0 < "/Users/alexgao/.pythonbrew/patches/macosx/python27/patch-Modules-posixmodule.diff") >> '/Users/alexgao/.pythonbrew/log/build.log' 2>&1
The text was updated successfully, but these errors were encountered:
I also have the same problem.
Sorry, something went wrong.
Same problem here. Apparently the mentioned patch does not apply any more. This is a conservative fix:
File: ~/.pythonbrew/scripts/installer/pythoninstaller.py, line 339 (see here)
~/.pythonbrew/scripts/installer/pythoninstaller.py
replace:
elif is_python27(version): patch_dir = PATH_PATCHES_MACOSX_PYTHON27 self._add_patches_to_list(patch_dir, ['patch-Modules-posixmodule.diff'])
with:
elif is_python27(version): if version != '2.7.5': patch_dir = PATH_PATCHES_MACOSX_PYTHON27 self._add_patches_to_list(patch_dir, ['patch-Modules-posixmodule.diff'])
Ole.
@gardiner This worked for me. Thanks.
Can you submit the patch?
Hi, will someone submit this? I also experience same problem here
No branches or pull requests
$ pythonbrew install 2.7.5
Downloading Python-2.7.5.tgz as /Users/alexgao/.pythonbrew/dists/Python-2.7.5.tgz
################################################################## 100.0%
Extracting Python-2.7.5.tgz into /Users/alexgao/.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/alexgao/.pythonbrew/log/build.log"
Patching Python-2.7.5
ERROR: Failed to patch
/Users/alexgao/.pythonbrew/build/Python-2.7.5
.1: failed to
(patch -p0 < "/Users/alexgao/.pythonbrew/patches/macosx/python27/patch-Modules-posixmodule.diff") >> '/Users/alexgao/.pythonbrew/log/build.log' 2>&1
The text was updated successfully, but these errors were encountered: