I assume due to the fact Big Sur is sparkling new hotfixes for the new OS have not yet happen. When attempting to install modules that use clang
for compilation, the following error is thrown:
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
Currently running:
- Mac OS Big Sur, 11.0 Beta
- Intel CPU (i386)
- Python 3.8.0 installed via
pyenv
Multiple modules have clang
dependencies, and so it seems this error is quite common. An example:
pip install multidict
Installing older versions of Command Line Tools (e.g. 11.5) does not work as well.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…