You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

无法安装Streamlit:PyArrow哈希值与requirements文件不匹配问题

解决pip安装Streamlit时pyarrow哈希不匹配的问题

试试下面几个方案,按顺序操作:

  • 升级pip到最新版本
    旧版本pip可能在哈希校验环节存在兼容问题,先执行升级:
    pip install --upgrade pip --no-cache-dir

  • 手动安装指定版本的pyarrow
    先卸载残留的pyarrow包:
    pip uninstall -y pyarrow
    然后强制安装指定版本的pyarrow,避免自动拉取校验异常的包:
    pip install pyarrow==11.0.0 --no-cache-dir
    如果还是报错,直接下载对应系统的pyarrow whl文件到本地,再执行本地安装:
    pip install /你的本地文件路径/pyarrow-11.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

  • 跳过依赖校验安装Streamlit
    如果以上方法都无效,可以先不检查依赖哈希安装Streamlit,之后再单独修复pyarrow:
    pip install streamlit --no-deps --no-cache-dir
    安装完成后再手动安装符合版本要求的pyarrow。

内容的提问来源于stack exchange,提问作者Chariot

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.28 06:05:01