Skip to content

cant add extensions in docker version #23

@jsapede

Description

@jsapede

llms --add gemini returns following error, same with fast_mcp

llms@12c6b6f171ad:/app$ llms --add gemini
ERROR: Failed to load extension computer parser: Could not determine screen resolution. No supported display server found.
Installing extension: gemini
Cloning from https://github.com/llmspy/gemini to /home/llms/.llms/extensions/gemini...
Traceback (most recent call last):
  File "/usr/local/bin/llms", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.11/site-packages/llms/main.py", line 4759, in main
    exit_code = cli_exec(cli_args, extra_args)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/llms/main.py", line 3815, in cli_exec
    asyncio.run(install_extension(cli_args.add))
  File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/llms/main.py", line 3776, in install_extension
    subprocess.run(["git", "clone", git_url, target_path], check=True)
  File "/usr/local/lib/python3.11/subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.11/subprocess.py", line 1955, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'git'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions