【问题标题】:Error Installing streamlit It says "ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly"错误安装 streamlit 它说“错误:无法为使用 PEP 517 且无法直接安装的 pyarrow 构建轮子”
【发布时间】:2020-11-09 16:19:20
【问题描述】:

当我尝试pip install streamlit 时,它会失败并显示错误消息:

错误:“无法为使用 PEP 517 且无法直接安装的 pyarrow 构建轮子”

我尝试直接安装pip install pyarrow,但仍然给出相同的错误消息

【问题讨论】:

  • 能否请您发布pip install pyarrow 的完整回溯?能否指定你的操作系统和 python 版本?
  • 您也可以尝试pip install --upgrade pip setuptools wheel,然后重试pip install streamlit

标签: python streamlit


【解决方案1】:

在我的情况下,问题与 Python 版本有关。更具体地说,我在错误日志中注意到:
RuntimeError: Not supported on 32-bit Windows

然后我安装了 Python 3.8.6(x64 版本)而不是 x32

问题解决了

pip install pyarrow

【讨论】:

    【解决方案2】:

    我也遇到了同样的问题,我注意到 pyarrow 是 streamlit 版本 0.63.0 中的要求。所以你可以使用pip install streamlit==0.62.0 就可以了

    【讨论】:

    • 虽然使用 Streamlit stackoverflow.com/a/64205790/2394542 所指出的那样
    【解决方案3】:

    Streamlit 版本 0.62.1 和 python 版本 3.8.5 工作正常。

    【讨论】:

      猜你喜欢
      • 2021-06-22
      • 2020-11-01
      • 2021-04-14
      • 2020-08-05
      • 2021-02-28
      • 2020-10-16
      • 1970-01-01
      • 1970-01-01
      • 2020-12-23
      相关资源
      最近更新 更多