Aditya Kumar added the comment:
while installing pycryptodome, the package is built from source. Because no
toolchain is found build fails with the following error. To work around this
issue temporarily i created a symlink MacOSX11.1.sdk -> MacOSX.sdk but it is
not possible to do this on all
Ned Deily added the comment:
Whether or not a macOS sysroot path is included in CFLAGS depends on how the
Python build was configured and built. For instance, the macOS Python binaries
provided on python.org do not include a sysroot path in CFLAGS; from the
version info provided, you are usi
New submission from Aditya Kumar :
$ python3.9
Python 3.9.7 (default, Sep 3 2021, 12:37:55)
[Clang 12.0.5 (clang-1205.0.22.9)] on darwin
>>> import sysconfig
>>> cflags = sysconfig.get_config_var('CFLAGS')
>>> cflags
'-Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic