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

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是因为您在这两个环境中都有不同的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