2017-12-27 1130 views
0

在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上安裝?

如何安裝最新的1.9.0RC?我有一個assertionError。

回答