mli / autocut

用文本编辑器剪视频

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

我这是安装成功了吗?如何启动?

g8up opened this issue · comments

commented
G:\Program Files\video-autocut>pip install git+https://github.com/mli/autocut.git
Collecting git+https://github.com/mli/autocut.git
  Cloning https://github.com/mli/autocut.git to c:\users\administrator\appdata\local\temp\pip-req-build-9_0_8mo6
  Running command git clone --filter=blob:none --quiet https://github.com/mli/autocut.git 'C:\Users\Administrator\AppData\Local\Temp\pip-req-build-9_0_8mo6'
  Resolved https://github.com/mli/autocut.git to commit f66a6c029e2f4fc68064cc6bac6b21ebb976b25c
  Preparing metadata (setup.py) ... done
Collecting whisper@ git+https://github.com/openai/whisper.git
  Cloning https://github.com/openai/whisper.git to c:\users\administrator\appdata\local\temp\pip-install-8zppbtzu\whisper_712144f85cd2447580e2c1e03e6e3c77
  Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git 'C:\Users\Administrator\AppData\Local\Temp\pip-install-8zppbtzu\whisper_712144f85cd2447580e2c1e03e6e3c77'
  Resolved https://github.com/openai/whisper.git to commit 6dea21fd7f7253bfe450f1e2512a0fe47ee2d258
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
  WARNING: Generating metadata for package whisper produced metadata for project name openai-whisper. Fix your #egg=whisper fragments.
Discarding git+https://github.com/openai/whisper.git: Requested openai-whisper from git+https://github.com/openai/whisper.git (from autocut==0.0.3) has inconsistent name: expected 'whisper', but metadata has 'openai-whisper'
Collecting srt
  Downloading srt-3.5.2.tar.gz (24 kB)
  Preparing metadata (setup.py) ... done
Collecting moviepy
  Downloading moviepy-1.0.3.tar.gz (388 kB)
     ---------------------------------------- 388.3/388.3 kB 2.0 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting opencc-python-reimplemented
  Downloading opencc_python_reimplemented-0.1.7-py2.py3-none-any.whl (481 kB)
     ---------------------------------------- 481.8/481.8 kB 7.6 MB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement torchaudio (from autocut) (from versions: none)
ERROR: No matching distribution found for torchaudio
commented

I installed by docker. it was interrupted:

...(more omited)
Collecting mpmath>=0.19
  Downloading mpmath-1.3.0-py3-none-any.whl (536 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 KB 2.9 MB/s eta 0:00:00
Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision, torchaudio
Successfully installed MarkupSafe-2.1.2 certifi-2022.12.7 charset-normalizer-3.1.0 filelock-3.10.0 idna-3.4 jinja2-3.1.2 mpmath-1.3.0 networkx-3.0 numpy-1.24.2 pillow-9.4.0 requests-2.28.2 sympy-1.11.1 torch-2.0.0+cpu torchaudio-2.0.1+cpu torchvision-0.15.1+cpu typing-extensions-4.5.0 urllib3-1.26.15
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: You are using pip version 22.0.4; however, version 23.0.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
Processing /autocut
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting whisper@ git+https://github.com/openai/whisper.git
  Cloning https://github.com/openai/whisper.git to /tmp/pip-install-q9l912qb/whisper_4911073835da4e258ba3c674ed8c9452
  Running command git clone --filter=blob:none --quiet https://github.com/openai/whisper.git /tmp/pip-install-q9l912qb/whisper_4911073835da4e258ba3c674ed8c9452
  Resolved https://github.com/openai/whisper.git to commit 6dea21fd7f7253bfe450f1e2512a0fe47ee2d258
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
  WARNING: Generating metadata for package whisper produced metadata for project name openai-whisper. Fix your #egg=whisper fragments.
Discarding git+https://github.com/openai/whisper.git: Requested openai-whisper from git+https://github.com/openai/whisper.git (from autocut==0.0.3) has inconsistent name: filename has 'whisper', but metadata has 'openai-whisper'
Collecting srt
  Downloading srt-3.5.2.tar.gz (24 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting moviepy
  Downloading moviepy-1.0.3.tar.gz (388 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 388.3/388.3 KB 116.2 kB/s eta 0:00:00
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting opencc-python-reimplemented
  Downloading opencc_python_reimplemented-0.1.7-py2.py3-none-any.whl (481 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 481.8/481.8 KB 869.3 kB/s eta 0:00:00
Requirement already satisfied: torchaudio in /usr/local/lib/python3.9/site-packages (from autocut==0.0.3) (2.0.1+cpu)
Collecting parameterized
  Downloading parameterized-0.8.1-py2.py3-none-any.whl (26 kB)
ERROR: Could not find a version that satisfies the requirement whisper (unavailable) (from autocut) (from versions: 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10, 0.9.11, 0.9.12, 0.9.13, 0.9.14, 0.9.15, 0.9.16, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.9, 1.1.10)
ERROR: No matching distribution found for whisper (unavailable)
WARNING: You are using pip version 22.0.4; however, version 23.0.1 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
The command '/bin/sh -c pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu &&     pip install .' returned a non-zero code: 1

依赖问题已更新修复