Pycharm控制台和终端采用不同的SQLite版本

发布于 2025-02-07 19:57:54 字数 342 浏览 5 评论 0原文

我正在运行气流计划,但有错误: airflow.exceptions.airflowconfigexception:错误:sqlite c库版本太旧(3.7.17< 3.15.0)。 我已经安装了最新的sqlite,但仍然遇到相同的错误。我发现Pycharm控制台和终端采用不同的SQLite版本。

enter image description here
I was running Airflow schedular but got the error: airflow.exceptions.AirflowConfigException: error: sqlite C library version too old (3.7.17< 3.15.0).
I had installed the latest SQLite but still getting the same error.i found that pycharm console and terminal taking different sqlite version.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

并安 2025-02-14 19:57:54

这是因为您在这两个环境中都有不同的python“环境”,并且每个环境都有不同的sqlite库。

在此处查看SQLITE数据库的AirFlow故障排除部分中的更多详细信息:

https://airflow.apache.org/docs/apache-apache-airflow/stable/howto/setable/howto/set-up-database.html#settingting-up-po--setting-up-a-a-a-sqlite-database < /a>

This is because you have different python "environments" used in both and each of those environments has different sqlite libraries.

See more details in Airflow's troubleshooting section of sqlite database here:

https://airflow.apache.org/docs/apache-airflow/stable/howto/set-up-database.html#setting-up-a-sqlite-database

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文