You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/02/26 17:21:24 UTC
[GitHub] [airflow] intc-hharshtk opened a new issue #21836: Airflow setup giving invalid version number error when doing python -m airflow db init
intc-hharshtk opened a new issue #21836:
URL: https://github.com/apache/airflow/issues/21836
### Apache Airflow version
2.2.4 (latest released)
### What happened
> (venv) plxc25516> python -m airflow db init
Traceback (most recent call last):
File "/usr/intel/pkgs/python3/3.8.2/lib/python3.8/runpy.py", line 184, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/usr/intel/pkgs/python3/3.8.2/lib/python3.8/runpy.py", line 143, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/usr/intel/pkgs/python3/3.8.2/lib/python3.8/runpy.py", line 110, in _get_module_details
__import__(pkg_name)
File "/nfs/site/disks/hharshtk_wa_01/sandboxes/airflow/pp/venv/lib/python3.8/site-packages/airflow/__init__.py", line 34, in <module>
from airflow import settings
File "/nfs/site/disks/hharshtk_wa_01/sandboxes/airflow/pp/venv/lib/python3.8/site-packages/airflow/settings.py", line 35, in <module>
from airflow.configuration import AIRFLOW_HOME, WEBSERVER_CONFIG, conf # NOQA F401
File "/nfs/site/disks/hharshtk_wa_01/sandboxes/airflow/pp/venv/lib/python3.8/site-packages/airflow/configuration.py", line 1129, in <module>
conf.validate()
File "/nfs/site/disks/hharshtk_wa_01/sandboxes/airflow/pp/venv/lib/python3.8/site-packages/airflow/configuration.py", line 224, in validate
self._validate_config_dependencies()
File "/nfs/site/disks/hharshtk_wa_01/sandboxes/airflow/pp/venv/lib/python3.8/site-packages/airflow/configuration.py", line 276, in _validate_config_dependencies
if StrictVersion(sqlite3.sqlite_version) < StrictVersion(min_sqlite_version):
File "/usr/intel/pkgs/python3/3.8.2/lib/python3.8/distutils/version.py", line 40, in __init__
self.parse(vstring)
File "/usr/intel/pkgs/python3/3.8.2/lib/python3.8/distutils/version.py", line 137, in parse
raise ValueError("invalid version number '%s'" % vstring)
ValueError: invalid version number '3.8.10.2'
### What you expected to happen
_No response_
### How to reproduce
_No response_
### Operating System
NAME="SLES" VERSION="12-SP5" VERSION_ID="12.5" PRETTY_NAME="SUSE Linux Enterprise Server 12 SP5" ID="sles" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:suse:sles:12:sp5"
### Versions of Apache Airflow Providers
_No response_
### Deployment
Virtualenv installation
### Deployment details
My virtual env contains:
Package Version
------------------------------- ---------
alembic 1.7.6
anyio 3.5.0
apache-airflow 2.2.4
apache-airflow-providers-ftp 2.0.1
apache-airflow-providers-http 2.0.3
apache-airflow-providers-imap 2.2.0
apache-airflow-providers-sqlite 2.1.0
apispec 3.3.2
argcomplete 2.0.0
attrs 20.3.0
Babel 2.9.1
blinker 1.4
cachelib 0.6.0
cattrs 1.10.0
certifi 2021.10.8
cffi 1.15.0
charset-normalizer 2.0.12
click 7.1.2
clickclick 20.10.2
colorama 0.4.4
colorlog 6.6.0
commonmark 0.9.1
connexion 2.12.0
croniter 1.3.4
cryptography 36.0.1
defusedxml 0.7.1
Deprecated 1.2.13
dill 0.3.4
dnspython 2.2.0
docutils 0.16
email-validator 1.1.3
Flask 1.1.4
Flask-AppBuilder 3.4.4
Flask-Babel 2.0.0
Flask-Caching 1.10.1
Flask-JWT-Extended 3.25.1
Flask-Login 0.4.1
Flask-OpenID 1.3.0
Flask-Session 0.4.0
Flask-SQLAlchemy 2.5.1
Flask-WTF 0.14.3
graphviz 0.19.1
gunicorn 20.1.0
h11 0.12.0
httpcore 0.14.7
httpx 0.22.0
idna 3.3
importlib-metadata 4.11.1
importlib-resources 5.4.0
inflection 0.5.1
iso8601 1.0.2
itsdangerous 1.1.0
Jinja2 2.11.3
jsonschema 3.2.0
lazy-object-proxy 1.7.1
lockfile 0.12.2
Mako 1.1.6
Markdown 3.3.6
MarkupSafe 2.0.1
marshmallow 3.14.1
marshmallow-enum 1.5.1
marshmallow-oneofschema 3.0.1
marshmallow-sqlalchemy 0.26.1
packaging 21.3
pendulum 2.1.2
pip 22.0.3
prison 0.2.1
psutil 5.9.0
pycparser 2.21
Pygments 2.11.2
PyJWT 1.7.1
pyparsing 3.0.7
pyrsistent 0.18.1
python-daemon 2.3.0
python-dateutil 2.8.2
python-nvd3 0.15.0
python-slugify 4.0.1
python3-openid 3.2.0
pytz 2021.3
pytzdata 2020.1
PyYAML 5.4.1
requests 2.27.1
rfc3986 1.5.0
rich 11.2.0
setproctitle 1.2.2
setuptools 46.1.3
six 1.16.0
sniffio 1.2.0
SQLAlchemy 1.3.24
SQLAlchemy-JSONField 1.0.0
SQLAlchemy-Utils 0.38.2
swagger-ui-bundle 0.0.9
tabulate 0.8.9
tenacity 8.0.1
termcolor 1.1.0
text-unidecode 1.3
unicodecsv 0.14.1
urllib3 1.26.8
Werkzeug 1.0.1
wheel 0.34.2
wrapt 1.13.3
WTForms 2.3.3
zipp 3.7.0
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] intc-hharshtk closed issue #21836: Airflow setup giving invalid version number error when doing python -m airflow db init
Posted by GitBox <gi...@apache.org>.
intc-hharshtk closed issue #21836:
URL: https://github.com/apache/airflow/issues/21836
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #21836: Airflow setup giving invalid version number error when doing python -m airflow db init
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #21836:
URL: https://github.com/apache/airflow/issues/21836#issuecomment-1052341133
Thanks for opening your first issue here! Be sure to follow the issue template!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org