[ad_1]
I’m reanimating old code.
This worked 5 years ago on whatever the latest macOS version was back then.
However now pip install pysas
fails.
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.5'
Following instructions from Big Sur clang “invalid version” error due to MACOSX_DEPLOYMENT_TARGET
> sudo rm -rf /Library/Developer/CommandLineTools
> softwareupdate --all --install --force
> sudo xcode-select --install
… I get a much bigger error-dump, including hundreds of lines such as:
using ::islessgreater;
~~^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/cmath:332:9: error: no member named 'isunordered' in the global namespace
I’ve filed an issue: https://github.com/shunsukeaihara/pysas/issues/3
Asking here as the project doesn’t seem to be actively maintained, and I suspect the issue is to do with getting my compiler tools in order on my macOS.
If it helps:
> xcrun --show-sdk-path
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk
Can anyone help disentangle this?
[ad_2]