【问题标题】:"Raise RuntimeError('Not supported on 32-bit Windows')" when installing pyarrow安装 pyarrow 时出现“引发 RuntimeError('Not supported on 32-bit Windows')”
【发布时间】:2019-09-14 00:12:55
【问题描述】:

每当我尝试在我的 PC 上安装 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 并且安装了更多的包没有问题。

【问题讨论】:

    标签: python pip pyarrow


    【解决方案1】:

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

    当您运行解释器提示符时,64 位 Python 安装可能会向您显示类似的内容(注意“MSC v.1915 64 位 (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.
    >>> 
    

    【讨论】:

    • 如果在 Windows 上安装 Python 64 位后仍有问题,请确保删除所有其他版本的 Python 并重新安装 pipenv(如果适用)
    猜你喜欢
    • 2019-08-28
    • 2019-03-13
    • 2022-01-16
    • 2021-04-15
    • 2015-12-13
    • 2017-03-25
    • 1970-01-01
    • 2016-04-19
    • 2011-08-04
    相关资源
    最近更新 更多