[ 
https://issues.apache.org/jira/browse/AIRFLOW-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bolke de Bruin resolved AIRFLOW-2668.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.10.0

Issue resolved by pull request #3550
[https://github.com/apache/incubator-airflow/pull/3550]

> 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
>    Affects Versions: 1.10.0
>            Reporter: Nicholas Pezolano
>            Priority: Minor
>             Fix For: 1.10.0
>
>
> 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)

Reply via email to