mli / autocut

用文本编辑器剪视频
Apache License 2.0
6.72k stars 676 forks source link

安装出现错误(Mac电脑):subprocess-exited-with-error,exit code: 128 #40

Closed wisRen closed 2 years ago

wisRen commented 2 years ago

image git clone --filter=blob:none --quiet https://github.com/mli/autocut.git /private/var/folders/vr/cr26bvtn2p766k8919j2hrb80000gn/T/pip-req-build-iish4v7y 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

  1. 先创建了环境conda create autocut
  2. 然后使用该命令:pip install git+https://github.com/mli/autocut.git,出现上面的错误
Guohui-Peng commented 2 years ago

国内网络不好的话,可能安装不成功。 一种方法就是解决网络问题。另外,你可以试试我建的CN分支:https://github.com/Guohui-Peng/autocut/tree/CN。 如果用docker方式,参考readme就行。不用docker的话,进入项目目录下,然后按下面顺序执行安装。

pip install ./whisper/ 
pip install .
wisRen commented 2 years ago

Guohui-Peng 感谢! 刚才先测试了这样成功了:

  1. pip install git+https://github.com/openai/whisper.git
  2. pip3 install torch torchvision torchaudio
  3. pip install git+https://github.com/mli/autocut.git