Redash create-tables fails

whenever I run (venv) [magneto@localhost redash-fork]$ bin/run ./ database create-tables

File “/home/magneto/sw/redash-fork/”, line 6, in
from redash.cli import manager
File “/home/magneto/sw/redash-fork/redash/”, line 80, in
File “/home/magneto/sw/redash-fork/redash/destinations/”, line 79, in import_destinations
File “/home/magneto/sw/redash-fork/redash/destinations/”, line 7, in
from redash.serializers import serialize_alert
File “/home/magneto/sw/redash-fork/redash/serializers/”, line 15, in
File “/home/magneto/sw/redash-fork/redash/serializers/”, line 8, in
File “/home/magneto/sw/redash-fork/redash/authentication/”, line 13, in
from redash.tasks import record_event
File “/home/magneto/sw/redash-fork/redash/tasks/”, line 1, in
from .general import record_event, version_check, send_mail, sync_user_details
File “/home/magneto/sw/redash-fork/redash/tasks/”, line 8, in
from redash.worker import celery
File “/home/magneto/sw/redash-fork/redash/”, line 11, in
from redash import create_app, settings
ImportError: cannot import name create_app
(venv) [magneto@localhost redash-fork]$ python --version
Python 2.7.5

This is just happening recently and on v7 redash. I don’t know what’s changed. Has anyone encountered this error ? It used to work fine not sure what’s changed.
I am on Centos 7 Linux and running redash developer mode.