Python 3.8 - Sqlite3 version error
See original GitHub issuepython 3.8 centos 7 Docker image
Can’t update sqlite3. Tried Airflow 2.0.1 and 2.0.0. Same issue on Python 3.6 with Airflow 2.0.0. I was able to force the install on 2.0.0 but when running a task it failed because of the sqlite3 version mismatch.
Am I just stupid? #13496
#``` (app-root) airflow db init Traceback (most recent call last): File “/opt/app-root/bin/airflow”, line 5, in <module> from airflow.main import main File “/opt/app-root/lib64/python3.8/site-packages/airflow/init.py”, line 34, in <module> from airflow import settings File “/opt/app-root/lib64/python3.8/site-packages/airflow/settings.py”, line 37, in <module> from airflow.configuration import AIRFLOW_HOME, WEBSERVER_CONFIG, conf # NOQA F401 File “/opt/app-root/lib64/python3.8/site-packages/airflow/configuration.py”, line 1007, in <module> conf.validate() File “/opt/app-root/lib64/python3.8/site-packages/airflow/configuration.py”, line 209, in validate self._validate_config_dependencies() File “/opt/app-root/lib64/python3.8/site-packages/airflow/configuration.py”, line 246, in _validate_config_dependencies raise AirflowConfigException(f"error: cannot use sqlite version < {min_sqlite_version}") airflow.exceptions.AirflowConfigException: error: cannot use sqlite version < 3.15.0 (app-root) python -c “import sqlite3; print(sqlite3.sqlite_version)” 3.7.17 (app-root) python --version Python 3.8.6 (app-root) pip install --upgrade sqlite3 ERROR: Could not find a version that satisfies the requirement sqlite3 (from versions: none) ERROR: No matching distribution found for sqlite3
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
Hello close to your problem i think … … i got the same error with python 3.8 centos 7 but on a manual installation ( no docker) resolved with the following steps :
Apache Airflow: 2.0.1 System info … … etc --> ok
I used the following on amazonlinux2 to get latest sqlite