【发布时间】:2021-11-27 05:02:46
【问题描述】:
最近,我们看到在 Python 3.9 项目中构建 pyarrow 依赖项失败。这开始于 2021 年 10 月 5 日晚上 8:57:01 左右
25hCollecting pyarrow 20:58:39 Downloading pyarrow-5.0.0.tar.gz (739 kB) 20:58:39 |
████████████████████████████████| 739 kB 90.7 MB/s 21:00:1425h Installing build dependencies ... 25l- \ | / - \ | / - \ | / - error 21:00:14 ERROR: Command errored out
with exit status 1: 21:00:14 command: /usr/local/bin/python /tmp/pip-standalone-pip-
55h74pun/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-
build-env-i45zzwqe/overlay --no-warn-script-location --no-binary :none: --only-binary
:none: -i https://pypi.org/simple -- 'cython >= 0.29' 'numpy==1.16.6;
python_version<'"'"'3.9'"'"'' 'numpy==1.19.4; python_version>='"'"'3.9'"'"'' setuptools
setuptools_scm wheel 21:00:14 cwd: None
...
ERROR: Failed building wheel for pyarrow which use PEP 517 and cannot be installed directly
21:12:46
在此之前,我们已成功构建,并且我们没有对代码进行任何更改。
我确实注意到,我们当前的作业在下载 pyarrow-5.0.0.tar.gz (739 kB) 时失败,而旧的成功作业正在下载 pyarrow-5.0.0-cp39-cp39-manylinux2014_x86_64.whl (23.7 MB)
我很好奇为什么会从使用 .whl 文件更改为 tar.gz 文件
requirements.txt:
boto3
halo
pandas
numpy
pyarrow
s3fs
click
我们如何安装:
pip install -r requirements.txt
我在 Pyarrow JIRA 上附上了完整的输出错误日志
感谢您的阅读!
【问题讨论】:
标签: python-3.x pyarrow