由于pyarrow和cmake,无法安装 snowflake -sqlalchemy

fcg9iug3  于 2023-02-12  发布在  其他
关注(0)|答案(1)|浏览(213)

我尝试使用命令pip install snowflake-sqlalchemy安装Snowflake SQLAlchemy,但是安装失败,因为无法构建pyarrow轮(因为找不到cmake)。

error: command 'cmake' failed: No such file or directory
        [end of output]
  
    note: This error originates from a subprocess, and is likely not a problem with pip.
    ERROR: Failed building wheel for pyarrow
  Failed to build pyarrow
  ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects

我试过用pip install cmake安装cmake,用pip install pyarrow安装pyarrow,都没有用。我已经用pip install snowflake-connector-python安装了python连接器。我在Mac上使用的是Python 3. 11. 1。

abithluo

abithluo1#

看起来pyarrow与Python 3. 11不兼容(尽管网站上说它兼容)。降级到Python 3. 9起作用了。

相关问题