Docker installation problem

Hello everyone,
I’m following the docker installation guide and when I run the docker-compose run --rm server create_db it list the following error

Traceback (most recent call last):
  File "/app/", line 9, in <module>
  File "/usr/local/lib/python3.7/site-packages/click/", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/flask/", line 586, in main
    return super(FlaskGroup, self).main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.7/site-packages/click/", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.7/site-packages/click/", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/flask/", line 425, in decorator
    with __ctx.ensure_object(ScriptInfo).load_app().app_context():
  File "/usr/local/lib/python3.7/site-packages/flask/", line 381, in load_app
    app = call_factory(self, self.create_app)
  File "/usr/local/lib/python3.7/site-packages/flask/", line 117, in call_factory
    return app_factory(script_info)
  File "/app/redash/cli/", line 13, in create
    app = current_app or create_app()
  File "/app/redash/", line 57, in create_app
  File "/app/redash/", line 107, in init_app
  File "/app/redash/", line 69, in load_extensions
    entry_point_loader("redash.extensions", extensions, logger=app.logger, app=app)
  File "/app/redash/", line 30, in entry_point_loader
    for entry_point in entry_points().get(group_name, []):
AttributeError: 'EntryPoints' object has no attribute 'get'

from what I read, the issue lies in importlib-metadata which is requirements_bundles.txt file. I have changed it to be a version less than (5). Unfortunatly, it didn’t work.

Any ideas ?

Were you able to get this fixed? I’m also facing the same issue when trying to set this up on M1 Mac.

I found this link useful, incase anyone needs: python - 'EntryPoints' object has no attribute 'get' - Digital ocean - Stack Overflow

I started a PR to pin importlib-metadata to 4.13.0