Skip to content

Error: git submodule update --init --recursive -q did not run successfully #475

@seupedro

Description

@seupedro
Screenshot 2023-12-14 at 02 22 38

Hi there!
I'm facing this error after cloning the repository:

  × git submodule update --init --recursive -q did not run successfully.
  │ exit code: 128
  ╰─> See above for output.

My env:

~ lit-llama % pip --version
pip 23.2.1 from /Users/seupedro/Library/Python/3.9/lib/python/site-packages/pip (python 3.9)
~ lit-llama % python --version
Python 3.11.6

The same happens when I try to go through terminal. Here is full error log:

Collecting lightning@ git+https://github.com/Lightning-AI/lightning@master
  Cloning https://github.com/Lightning-AI/lightning (to revision master) to /private/var/folders/s8/k3qcx2r56bvf64hs77nzpdkh0000gn/T/pip-install-ve9jddtg/lightning_00c1366ba4ac4001bebf0730697cadb9
  Resolved https://github.com/Lightning-AI/lightning to commit 97469c600f085b78dc5934d6cabfe87ffa6d098e

  Running command git clone --filter=blob:none --quiet https://github.com/Lightning-AI/lightning /private/var/folders/s8/k3qcx2r56bvf64hs77nzpdkh0000gn/T/pip-install-ve9jddtg/lightning_00c1366ba4ac4001bebf0730697cadb9
  Running command git submodule update --init --recursive -q
  git-lfs filter-process: git-lfs: command not found
  fatal: the remote end hung up unexpectedly
  fatal: Unable to checkout '543a8d82006620906dc9eb669eab18d06ebe6863' in submodule path '_notebooks'
  error: subprocess-exited-with-error
  
  × git submodule update --init --recursive -q did not run successfully.
  │ exit code: 128
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git submodule update --init --recursive -q did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip available: 22.3.1 -> 23.3.1
[notice] To update, run: pip install --upgrade pip

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