Hi all, I'm just trying to follow the quickstart g...
# ask-for-help
g
Hi all, I'm just trying to follow the quickstart guide and set up a local service, but whenever I run the
bentoml serve service:Summarization
command, I get the following error
Copy code
Traceback (most recent call last):
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/bin/bentoml", line 5, in <module>
    from bentoml_cli.cli import cli
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/lib/python3.12/site-packages/bentoml_cli/cli.py", line 57, in <module>
    cli = create_bentoml_cli()
          ^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/lib/python3.12/site-packages/bentoml_cli/cli.py", line 8, in create_bentoml_cli
    from bentoml._internal.configuration import BENTOML_VERSION
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/lib/python3.12/site-packages/bentoml/__init__.py", line 26, in <module>
    load_config()
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/lib/python3.12/site-packages/bentoml/_internal/configuration/__init__.py", line 184, in load_config
    BentoMLConfiguration(
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/lib/python3.12/site-packages/bentoml/_internal/configuration/containers.py", line 67, in __init__
    self.config = get_default_config(version=use_version)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/mambaforge/base/envs/venv/lib/python3.12/site-packages/bentoml/_internal/configuration/helpers.py", line 111, in get_default_config
    assert hasattr(mod, "SCHEMA"), (
           ^^^^^^^^^^^^^^^^^^^^^^
AssertionError: version 1 does not have a validation schema
I'm running off the latest release
bentoml==1.2.11
I'm fully unable to start the bentoml cli tool, trying
bentoml -h
throws the same error
c
When you install BentoML, is there any warning about dependencies?
g
When I installed it did not, but I found the issue, it was a name collision for dependencies due to custom packages I have on my pypi server 🫠
👍 1