2017-12-27 354 views

在Debian 8安装我安装了Apache气流1.9从GitHub感谢这个命令行的debian 9:pip install git+https://github.com/apache/[email protected]阿帕奇气流1.9从GitHub

不过,我有造成Fernet的airflow initdb过程中发生错误,你知道如何解决这个问题?

INFO [alembic.runtime.migration] Running upgrade 947454bf1dff -> d2ae31099d61, Increase text size for MySQL (not relevant for other DBs' text types) 
    [2017-12-27 17:19:24,586] {models.py:643} ERROR - Failed to load fernet while encrypting value, using non-encrypted value. 
    Traceback (most recent call last): 
     File "/usr/local/lib/python2.7/dist-packages/airflow/models.py", line 639, in set_extra 
     fernet = get_fernet() 
     File "/usr/local/lib/python2.7/dist-packages/airflow/models.py", line 103, in get_fernet 
     raise AirflowException('Failed to import Fernet, it may not be installed') 
    AirflowException: Failed to import Fernet, it may not be installed 
    [2017-12-27 17:19:24,601] {models.py:643} ERROR - Failed to load fernet 

我怎样才能从我以前的PIP命令中指定像pip install apache-airflow[gcp-api] extrapackage与github上安装?