由于我将 macOS 升级到 Monterey,因此无法使用以下命令编译 Cython 文件: python setup.py build_ext --inplace。我收到此错误:
ld: unsupported tapi file type '!tapi-tbd' in YAML file '/opt/MacOSX11.3.sdk/usr/lib/libSystem.tbd' for architecture x86_64 clang-10: error: linker command failed with exit code 1 (use -v to see invocation) error: command 'x86_64-apple-darwin13.4.0-clang' failed with exit status 1
我该如何解决?