-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Cannot install Python 3.10.12 under CLT for XCode 16, but can install under CLT for XCode 15 #3068
New issue
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
Comments
The error Check if you have any compiler-affecting envvars (I don't see any in config.log but just in case). Look though other posts in #2983. In particular, see if you have selected the right one with |
Doing a clean install of the Command-Line Tools for Yet I hadn't try with other versions of Python, because I specifically need |
Others have also reported problems with XCode 16. We add it to compiler flags to use ZLib from there. Maybe that breaks XCode 16 due to structural changes. Try applying this change: --- a/plugins/python-build/bin/python-build
+++ b/plugins/python-build/bin/python-build
@@ -818,7 +818,7 @@ build_package_standard_build() {
use_homebrew_readline || use_freebsd_pkg || true
use_homebrew_ncurses || true
if is_mac -ge 1014; then
- use_xcode_sdk_zlib || use_homebrew_zlib || true
+ use_homebrew_zlib || true
else
use_homebrew_zlib || true
fi |
Having the same problem, any solutions here? |
@joshfriend @anton-petrov Could you try to diagnose this issue on your hardware? Hopefully, it's able to run MacOS 14, unlike mine. |
Prerequisite
pyenv
and the defaultpython-build
plugin only. Please refrain from reporting issues of other plugins here.Description
config.log
from the build directoryWith
Command Line Tools for XCode 15.3
I have no problem with installing python using pyenv, but withCommand Line Tools for XCode 16
I'm facing strange problem. That XCode 16 release was just 3 days ago.I installed older Command Line Tools for XCode 15.3 then it just went very well.
It may seems to be a duplicate of #2983 but just re-installing CLT for XCode 16 didn't help.
The text was updated successfully, but these errors were encountered: