whispercpp icon indicating copy to clipboard operation
whispercpp copied to clipboard

bug: Pip install fails

Open chrisspen opened this issue 1 year ago • 4 comments

Describe the bug

Running pip install git+https://github.com/aarnphm/whispercpp.git results in the error:

Collecting git+https://github.com/aarnphm/whispercpp.git
  Cloning https://github.com/aarnphm/whispercpp.git to /tmp/pip-req-build-vzxr7w4b
  Running command git clone --filter=blob:none --quiet https://github.com/aarnphm/whispercpp.git /tmp/pip-req-build-vzxr7w4b
  Resolved https://github.com/aarnphm/whispercpp.git to commit 00f331b54be5dddaa4eb1611b5f533f8d29f18c1
  Running command git submodule update --init --recursive -q
  fatal: remote error: upload-pack: not our ref c9d5095f0c64455b201f1cd0b547efcf093ee7c3
  fatal: the remote end hung up unexpectedly
  Fetched in submodule path 'extern/whispercpp/bindings/ios', but it did not contain c9d5095f0c64455b201f1cd0b547efcf093ee7c3. Direct fetching of that commit failed.
  Failed to recurse into submodule path 'extern/whispercpp'
  error: subprocess-exited-with-error
  
  × git submodule update --init --recursive -q did not run successfully.
  │ exit code: 1
  ╰─> 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: 1
╰─> See above for output.

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

To reproduce

No response

Expected behavior

No response

Environment

Ubuntu

chrisspen avatar Jan 08 '24 01:01 chrisspen

Have you had any success fixing this? The version on pip is outdated and fails to authorize against openai to download the models and the version on git doesn't build because of this error.

03l54rd1n3 avatar Jan 09 '24 21:01 03l54rd1n3

No. This seems related to issue #137

chrisspen avatar Jan 09 '24 22:01 chrisspen

The fork I maintain https://github.com/AIWintermuteAI/whispercpp

AIWintermuteAI avatar Jul 18 '24 16:07 AIWintermuteAI