I use docker to install redash.
When i run the command : /usr/local/bin/docker-compose run --rm server create_db,it throw errors ,the error message is :
Creating redash_server_run … done
Traceback (most recent call last):
File “/app/manage.py”, line 6, in
from redash.cli import manager
File “/app/redash/init.py”, line 10, in
from flask_migrate import Migrate
File “/usr/local/lib/python2.7/site-packages/flask_migrate/init.py”, line 5, in
from alembic import version as alembic_version
File “/usr/local/lib/python2.7/site-packages/alembic/init.py”, line 3, in
from . import context # noqa
File “/usr/local/lib/python2.7/site-packages/alembic/context.py”, line 1, in
from .runtime.environment import EnvironmentContext
File “/usr/local/lib/python2.7/site-packages/alembic/runtime/environment.py”, line 1, in
from .migration import MigrationContext
File “/usr/local/lib/python2.7/site-packages/alembic/runtime/migration.py”, line 15, in
from … import ddl
File “/usr/local/lib/python2.7/site-packages/alembic/ddl/init.py”, line 1, in
from . import mssql # noqa
File “/usr/local/lib/python2.7/site-packages/alembic/ddl/mssql.py”, line 8, in
from .base import AddColumn
File “/usr/local/lib/python2.7/site-packages/alembic/ddl/base.py”, line 11, in
from …util.sqla_compat import _columns_for_constraint # noqa
File “/usr/local/lib/python2.7/site-packages/alembic/util/init.py”, line 32, in
raise CommandError(“SQLAlchemy 1.3.0 or greater is required.”)
alembic.util.exc.CommandError: SQLAlchemy 1.3.0 or greater is required.
ERROR: 1
redash_redis_1 is up-to-date
redash_postgres_1 is up-to-date
redash_email_1 is up-to-date
Starting redash_server_1 … done
redash_scheduler_1 is up-to-date
redash_worker_1 is up-to-date
but i have installed the SQLAlchemy
Could anyone help me?