Airflow on Heroku keeps running into bcrypt error

390
August 19, 2017, at 09:11 AM

Has anyone run into the following error while trying to get Airflow running on a remote Heroku server? My airflow webserver runs fine but I am trying to add security to the service. I am following the example of creating a user at https://airflow.incubator.apache.org/security.html. However when I try to create a password:

user.password = 'set_the_password'

I get an error saying.

AttributeError: module 'bcrypt._bcrypt' has no attribute 'ffi'

Running pip freeze reveals that I have not only bcrypt but also

Flask-Bcrypt==0.7.1
bcrypt==3.1.3
py-bcrypt==0.4
cryptography==1.8.1
cffi==1.10.0

I am suspecting that there are some C dependencies that are getting lost in the requirements.txt. I am know this maybe a repeat of Python bcrypt package on Heroku gives AttributeError: 'module' object has no attribute 'ffi', but I am not looking to monkey patch and I have crytography as a library included. Any help would be appreciated!

Rent Charter Buses Company
READ ALSO
Python Dictionaries Print

Python Dictionaries Print

I have this dictionary but I'm not able to print it, could anyone tell me if there is an error?

292
What is the Python idiom for chaining tensor products?

What is the Python idiom for chaining tensor products?

Numpy's outer flattens its argumentsAs a result it isn't possible to chain outer to implement the mathematical definition of the (matrix) tensor product, for example as is possible in Mathematica with

297
How to load 800 GB of data into a hive table using Spark?

How to load 800 GB of data into a hive table using Spark?

We have a big time series of three-component magnetic field (north, east, down) measured at many different stations

299
How would I add a good amount of space/lines between two or more array objects being printed from a Spyder Editor into the Ipython Console?

How would I add a good amount of space/lines between two or more array objects being printed from a Spyder Editor into the Ipython Console?

This is my output in the Ipython editor when running the script "first"How do I separate the 5x3 array from the second one so it's easier to see the separate output t4 is the variable calling in the 5x3 array and t5 is the 2x3 array right after that starting...

269