Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install
faster-whisper
using git as pypi is not updated anymore
- Loading branch information
b4e4143
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit is not working properly for faster-whisper.
pip install git+https://github.com/m-bain/whisperx.git
=> Step 7: RUN pip install git+https://github.com/m-bain/whisperx.git --upgrade
Looking in indexes: http://pypi-mirror.modal.local:5555/simple
Collecting git+https://github.com/m-bain/whisperx.git
Cloning https://github.com/m-bain/whisperx.git to /tmp/pip-req-build-pyk5h1y2
Running command git clone --filter=blob:none --quiet https://github.com/m-bain/whisperx.git /tmp/pip-req-build-pyk5h1y2
Resolved https://github.com/m-bain/whisperx.git to commit 5a16e59
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [35 lines of output]
/tmp/pip-req-build-pyk5h1y2/setup.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/requirements.py", line 35, in init
parsed = _parse_requirement(requirement_string)
File "/usr/local/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 64, in parse_requirement
return _parse_requirement(Tokenizer(source, rules=DEFAULT_RULES))
File "/usr/local/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 82, in _parse_requirement
url, specifier, marker = _parse_requirement_details(tokenizer)
File "/usr/local/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 126, in _parse_requirement_details
marker = _parse_requirement_marker(
File "/usr/local/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_parser.py", line 147, in _parse_requirement_marker
tokenizer.raise_syntax_error(
File "/usr/local/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/_tokenizer.py", line 165, in raise_syntax_error
raise ParserSyntaxError(
pkg_resources.extern.packaging._tokenizer.ParserSyntaxError: Expected end or semicolon (after name and no valid version specifier)
git+https://github.com/SYSTRAN/[email protected]
^
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Terminating task due to error: failed to run builder command "pip install git+https://github.com/m-bain/whisperx.git --upgrade"
Caused by:
container exit status: 1
Runner failed with exception: task exited with failure, status = exit status: 1
b4e4143
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed here #604
For now you can install with
pip install git+https://github.com/ZackHodari/whisperx.git@fix/pip-install-git-faster-whisper
, though this will likely go out of date with m-bain main