安装 streamlit 时出错,显示“错误:无法为使用 PEP 517 且无法直接安装的 pyarrow 构建轮子”

Ije*_*eme 9 python streamlit

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

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

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

gma*_*kis 11

就我而言,问题与 Python 版本有关。更具体地说,我在错误日志中注意到:
RuntimeError: Not support on 32-bit Windows

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

在此输入图像描述

问题解决了

pip install pyarrow


小智 6

我也遇到了同样的问题,我注意到 pyarrow 是 Streamlit 版本 0.63.0 中的要求。所以你可以使用pip install streamlit==0.62.0并且它会工作得很好