[
https://issues.apache.org/jira/browse/AIRFLOW-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicholas Pezolano updated AIRFLOW-2668:
---------------------------------------
Component/s: dependencies
> Missing cryptogrpahy dependency on airflow initdb call
> ------------------------------------------------------
>
> Key: AIRFLOW-2668
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2668
> Project: Apache Airflow
> Issue Type: Bug
> Components: dependencies
> Reporter: Nicholas Pezolano
> Priority: Minor
>
> The cryptography packages looks to be required now for `airflow initdb` calls
> on a fresh install from master as of commit
> 702a57ec5a96d159105c4f5ca76ddd2229eb2f44.
> $ airflow initdb
> Traceback (most recent call last):
> File "/home/n/git/airflow_testing/env/bin/airflow", line 6, in <module>
> exec(compile(open(__file__).read(), __file__, 'exec'))
> File "/home/n/git/incubator-airflow/airflow/bin/airflow", line 21, in
> <module>
> from airflow import configuration
> File "/home/n/git/incubator-airflow/airflow/__init__.py", line 37, in
> <module>
> from airflow.models import DAG
> File "/home/n/git/incubator-airflow/airflow/models.py", line 31, in <module>
> import cryptography
> ImportError: No module named cryptography
>
> Steps to reproduce:
> {code}
> git clone https://github.com/apache/incubator-airflow
> virtualenv env
> . env/bin/activate
> pip install -e .[s3]
> airflow initdb
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)