一开始我收到错误UserWarning: You have an incompatible version of 'pyarrow' installed (7.0.0), please install a version that adheres to: 'pyarrow<6.1.0,>=6.0.0; extra == "pandas"'
然后我遵循了 snowflake Python Connection KeyError: 'snowflake-connector-python 上的建议并执行了以下操作:
pip install --upgrade --force-reinstall pandas
pip install --upgrade --force-reinstall pyarrow
pip install --upgrade --force-reinstall snowflake-connector-python
pip install --upgrade --force-reinstall sqlalchemy
pip install --upgrade --force-reinstall snowflake-sqlalchemy
但是后来我得到了错误UserWarning: You have an incompatible version of 'pyarrow' installed (12.0.0), please install a version that adheres to: 'pyarrow<10.1.0,>=10.0.1; extra == "pandas"'
我该如何解决这个问题?
最佳答案
摆脱此错误循环的一个简单方法是安装错误消息要求的 pyarrow
版本。
例如,这解决了我的警告:
pip install pyarrow==10.0.1
关于python - 安装的 'pyarrow'版本不兼容,如何修复?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/76259451/