python - 在 mac 10.15 上安装 pyarrow python 导致命令 clang 失败,退出状态代码为 1
问题描述
我必须安装pyarrow
. 我正在使用安装,pip install pyarrow
但它导致clang
失败。日志是
error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic
-DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -
I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework
/Versions/8.5/Headers -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -
Inumpy/core/include -Ibuild/src.macosx-10.15-x86_64-3.9/numpy/core/include/numpy -
Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -
Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort
-I/usr/local/include
-I/usr/local/opt/openssl@1.1/include
-I/usr/local/opt/sqlite/include
-I/Users/riteek/work/gojek/asgard/spikes/litmus-reporting/scipy-spike/venv/include
-I/usr/local/Cellar/python@3.9/3.9.0_1/Frameworks/Python.framework/Versions/3.9/include/python3.9 -Ibuild/src.macosx-10.15-x86_64-3.9/numpy/core/src/common
-Ibuild/src.macosx-10.15-x86_64-3.9/numpy/core/src/npymath
-Ibuild/src.macosx-10.15-x86_64-3.9/numpy/core/src/common
-Ibuild/src.macosx-10.15-x86_64-3.9/numpy/core/src/npymath -c numpy/random/mtrand/mtrand.c -o build/temp.macosx-10.15-x86_64-3.9/numpy/random/mtrand/mtrand.o -MMD -MF build/temp.macosx-10.15-x86_64-3.9/numpy/random/mtrand/mtrand.o.d" failed with exit status 1
解决方案
推荐阅读
- html - 在 div 中显示多行字符串
- powerbi - 将形状文件简化为 TopoJSON 文件,同时将原始数据保留在 mapshaper 中
- c++ - 将 wstring_view 转换为 int
- windows - 通过签名验证验证真实性 Windows 10
- html - 为什么这个 div 向下移位?
- r - 根据不同的高度查找变量的值
- javascript - React Native 和 Firebase 实时数据库
- php - 如何在 simplesamlphp 中使用 CA 颁发的证书和中间证书作为 SP?
- android - 动态功能模块中带有 Dagger Hilt 的 Scoped ViewModel
- python-3.x - 图像输出未正确显示在 Seaborn 条形图中