watsonx Orchestrate

watsonx Orchestrate

Connect with experts and peers to elevate technical expertise, solve problems and share insights.

 View Only
  • 1.  Instaling IBM Watsonx Orchestrate ADK

    Posted Mon May 12, 2025 12:43 PM

    I tried to install ADK on python 3.11 following instructions in Installing the ADK - IBM watsonx Orchestrate ADK

    When I run the recommended check: "orchestrate --help" I got errors.

    I installed python 3.13.3 and created a virtual environment to avoid conflicts but i got same error:

     Usage: orchestrate [OPTIONS] COMMAND [ARGS]...
    
    Traceback (most recent call last):
      File "<frozen runpy>", line 198, in _run_module_as_main
      File "<frozen runpy>", line 88, in _run_code
      File "C:\data\sw\watsonx\adk\Scripts\orchestrate.exe\__main__.py", line 7, in <module>
        sys.exit(app())
                 ~~~^^
      File "C:\data\sw\watsonx\adk\Lib\site-packages\typer\main.py", line 340, in __call__
        raise e
      File "C:\data\sw\watsonx\adk\Lib\site-packages\typer\main.py", line 323, in __call__
        return get_command(self)(*args, **kwargs)
               ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
      File "C:\data\sw\watsonx\adk\Lib\site-packages\click\core.py", line 1442, in __call__
        return self.main(*args, **kwargs)
               ~~~~~~~~~^^^^^^^^^^^^^^^^^
      File "C:\data\sw\watsonx\adk\Lib\site-packages\typer\core.py", line 740, in main
        return _main(
            self,
        ...<6 lines>...
            **extra,
        )
      File "C:\data\sw\watsonx\adk\Lib\site-packages\typer\core.py", line 194, in _main
        with self.make_context(prog_name, args, **extra) as ctx:
             ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\data\sw\watsonx\adk\Lib\site-packages\click\core.py", line 1186, in make_context
        self.parse_args(ctx, args)
        ~~~~~~~~~~~~~~~^^^^^^^^^^^
      File "C:\data\sw\watsonx\adk\Lib\site-packages\click\core.py", line 1786, in parse_args
        rest = super().parse_args(ctx, args)
      File "C:\data\sw\watsonx\adk\Lib\site-packages\click\core.py", line 1197, in parse_args
        value, args = param.handle_parse_result(ctx, opts, args)
                      ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
      File "C:\data\sw\watsonx\adk\Lib\site-packages\click\core.py", line 2416, in handle_parse_result
        value = self.process_value(ctx, value)
      File "C:\data\sw\watsonx\adk\Lib\site-packages\click\core.py", line 2355, in process_value
        value = self.callback(ctx, self, value)
      File "C:\data\sw\watsonx\adk\Lib\site-packages\click\decorators.py", line 539, in show_help
        echo(ctx.get_help(), color=ctx.color)
             ~~~~~~~~~~~~^^
      File "C:\data\sw\watsonx\adk\Lib\site-packages\click\core.py", line 730, in get_help
        return self.command.get_help(self)
               ~~~~~~~~~~~~~~~~~~~~~^^^^^^
      File "C:\data\sw\watsonx\adk\Lib\site-packages\click\core.py", line 1064, in get_help
        self.format_help(ctx, formatter)
        ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
      File "C:\data\sw\watsonx\adk\Lib\site-packages\typer\core.py", line 754, in format_help
        return rich_utils.rich_format_help(
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
            obj=self,
            ^^^^^^^^^
            ctx=ctx,
            ^^^^^^^^
            markup_mode=self.rich_markup_mode,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        )
        ^
      File "C:\data\sw\watsonx\adk\Lib\site-packages\typer\rich_utils.py", line 614, in rich_format_help
        _print_options_panel(
        ~~~~~~~~~~~~~~~~~~~~^
            name=OPTIONS_PANEL_TITLE,
            ^^^^^^^^^^^^^^^^^^^^^^^^^
        ...<3 lines>...
            console=console,
            ^^^^^^^^^^^^^^^^
        )
        ^
      File "C:\data\sw\watsonx\adk\Lib\site-packages\typer\rich_utils.py", line 373, in _print_options_panel
        metavar_str = param.make_metavar()
    TypeError: Parameter.make_metavar() missing 1 required positional argument: 'ctx'

    Any help?

    Thanks

     



    ------------------------------
    Eduardo Izquierdo Lázaro
    Automation Architect
    DECIDE
    Madrid
    609893677
    ------------------------------


  • 2.  RE: Instaling IBM Watsonx Orchestrate ADK
    Best Answer

    Posted Tue May 13, 2025 09:08 AM

    Hello,

    I was facing the same issue.

    It look like it's related to the output formating of the CLI.

    I just change the version of by doing 'pip install typer==0.9.0 click==8.1.7'

    After that the CLI work correctly

    And now the 

     



    ------------------------------
    Jérôme Girs
    Technical Leader
    NSI Luxembourg PSF S.A.
    Esch-sur-Alzette
    ------------------------------



  • 3.  RE: Instaling IBM Watsonx Orchestrate ADK

    Posted Tue May 13, 2025 01:52 PM

    Thanks Jerome, it worked.

    I got this error, however seems to work fine

    ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    ibm-watsonx-orchestrate 1.2.0 requires typer<1.0.0,>=0.15.1, but you have typer 0.9.0 which is incompatible.


    ------------------------------
    Eduardo Izquierdo Lázaro
    Automation Architect
    DECIDE
    Madrid
    609893677
    ------------------------------