python3配置脚本错误-找不到pthreads

python3配置脚本错误-找不到pthreads,python,macos,cmake,Python,Macos,Cmake,我正试图在mac os Big-Sur上编译python 3.7.7。 从python.org下载了源代码 运行配置脚本将在出现错误时退出 configure:错误:在系统上找不到pthreads cmake版本3.19.0 gcc版本 配置为:--prefix=/Library/Developer/CommandLineTools/usr--gxx include dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/incl

我正试图在mac os Big-Sur上编译python 3.7.7。 从python.org下载了源代码 运行配置脚本将在出现错误时退出

configure:错误:在系统上找不到pthreads
cmake版本3.19.0

gcc版本

配置为:--prefix=/Library/Developer/CommandLineTools/usr--gxx include dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang 11.0.0版(clang-1100.0.33.17)
目标:x86_64-apple-darwin20.1.0
线程模型:posix
InstalledDir:/Library/Developer/CommandLineTools/usr/bin

为什么不简单地使用其中一个或一个包管理器?我正在使用bazel构建python代码并编译python解释器。为什么不简单地使用其中一个或一个包管理器?我正在使用bazel构建python代码并编译python解释器。