Skip to content

Problem running uvx cratedb-toolkit settings compare #661

@amotl

Description

@amotl

Problem

When I am running the command shared below, after resolving GH-659, I am receiving another Python traceback with no indication what I was doing wrong.

uvx cratedb-toolkit settings compare
Traceback (most recent call last):
  File "/path/to/python3.11/site-packages/cratedb_toolkit/settings/compare.py", line 345, in compare_cluster_settings
    from cratedb_toolkit.docs.settings import SettingsExtractor
  File "/path/to/python3.11/site-packages/cratedb_toolkit/docs/settings.py", line 22, in <module>
    from bs4 import BeautifulSoup
ModuleNotFoundError: No module named 'bs4'

Proposal

Invoking the command like that should yield a user message that indicates the corresponding package extra must be installed.

pip install 'cratedb-toolkit[settings]'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions