Mendapatkan Kesalahan saat memasang apache-aliran udara [ditutup]


12

Saya mendapatkan kesalahan di atas ketika saya mencoba initdb aliran udara dan initdb aliran udara

  File "/home/ravi/sandbox/bin/airflow", line 26, in <module>
    from airflow.bin.cli import CLIFactory
  File "/home/ravi/sandbox/lib/python3.6/site-packages/airflow/bin/cli.py", line 70, in <module>
    from airflow.www.app import (cached_app, create_app)
  File "/home/ravi/sandbox/lib/python3.6/site-packages/airflow/www/app.py", line 37, in <module>
    from airflow.www.blueprints import routes
  File "/home/ravi/sandbox/lib/python3.6/site-packages/airflow/www/blueprints.py", line 25, in <module>
    from airflow.www import utils as wwwutils
  File "/home/ravi/sandbox/lib/python3.6/site-packages/airflow/www/utils.py", line 39, in <module>
    from flask_admin.model import filters
  File "/home/ravi/sandbox/lib/python3.6/site-packages/flask_admin/model/__init__.py", line 2, in <module>
    from .base import BaseModelView
  File "/home/ravi/sandbox/lib/python3.6/site-packages/flask_admin/model/base.py", line 8, in <module>
    from werkzeug import secure_filename
ImportError: cannot import name 'secure_filename' ```


8
Coba instal versi yang lebih rendah dari werkzeug (instal pip werkzeug == 0.16.0) seperti yang disebutkan di sini: stackoverflow.com/questions/60104484/…
ineedhelp

Berhasil terima kasih.
ravi kumbar

Jawaban:


Dengan menggunakan situs kami, Anda mengakui telah membaca dan memahami Kebijakan Cookie dan Kebijakan Privasi kami.
Licensed under cc by-sa 3.0 with attribution required.