Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
seupedro opened this issue Dec 14, 2023 · 1 comment

Comments

@seupedro
Copy link

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
@tedsandler
Copy link

I am hitting this issue as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants