"Raise RuntimeError('Not supported on 32-bit Windows')" 安装pyarrow时

"Raise RuntimeError('Not supported on 32-bit Windows')" when installing pyarrow

每当我尝试在我的电脑上安装 pyarrow 时,我都会收到此错误。它是 64 位的,所以我不明白:

raise RuntimeError('Not supported on 32-bit Windows')
  RuntimeError: Not supported on 32-bit Windows
  ----------------------------------------
  ERROR: Failed building wheel for pyarrow
ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly

我已经更新了 pip 并且安装了更多的包没有问题。

PyArrow 尝试构建 32 位版本的原因肯定是您使用的是 32 位 Python 安装。

64 位 Python 安装可能会在您 运行 解释器提示时显示类似的内容(请注意 "MSC v.1915 64 bit (AMD64)" 表示它是 64 位版本):

c:\>python
Python 3.7.2 (default, Jan  2 2019, 17:07:39) [MSC v.1915 64 bit (AMD64)]
Type "help", "copyright", "credits" or "license" for more information.
>>>