Open f355 opened 1 year ago
I was able to work around this by running ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk
, but that makes me feel dirty.
It is a known problem that build-time paths leak into the distribution.
I wish I had a better solution for you, but I don't at this time. This is a complex problem with no easy solutions. The best I can recommend is for you to manually patch the bad _sysconfigdata_*.py
file post extraction. This is something I hope we can make turnkey one day.
oh well. thank you anyway!
In darwin artifacts downloaded from the release page, the file
lib/python3.10/_sysconfigdata__darwin_darwin.py
contains the following flag:If the machine has only Command Line Tools installed, then trying to install any pip package that has C code in it fails with the following error:
The situation gets worse with upgrading XCode to 14.1 as it no longer includes
MacOSX12.3.sdk
, at least in the Release Candidate 2.