通过pip安装安装Snowflake-SQLAlchemy时构建pyarrow失败

Failed to build pyarrow during installation of Snowflake-SQLAlchemy through pip installation

我正在尝试通过 SQLAlchemy 使用 Snowflake Python 连接器,而我在 运行 pip install --upgrade snowflake-sqlalchemy 期间遇到错误 failed to build pyarrow安装。我正在使用 python version 3.7

我建议重新安装 pyarrow,然后您可能想要升级 snowflake-sqlalchemy。重做标准连接器可能也无妨,步骤如下:

1。 pip install --upgrade pyarrow

  1. pip install --upgrade snowflake-connector-python

3。 pip install --upgrade snowflake-sqlalchemy