我尝试使用命令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。
1条答案
按热度按时间abithluo1#
看起来pyarrow与Python 3. 11不兼容(尽管网站上说它兼容)。降级到Python 3. 9起作用了。