videocaptioner 1.0.0 wheel missing core/review.py — ModuleNotFoundError on import
Summary
cli-anything-videocaptioner 1.0.0 from PyPI ships a wheel that is missing cli_anything/videocaptioner/core/review.py. Any invocation of the CLI crashes immediately with ModuleNotFoundError before reaching argument parsing.
Environment
- OS: Windows 11
- Shell: Git Bash
- Python: 3.12.10 (64-bit), installed in a dedicated venv (cli-anything requires
<3.13) - Install path:
pip install cli-anything-hub→cli-hub install videocaptioner - Installed versions:
cli-anything-hub0.2.1cli-anything-videocaptioner1.0.0videocaptioner1.4.1 (underlying package — works fine standalone)
Steps to reproduce
python -m venv venv
venv/Scripts/pip install cli-anything-hub
PYTHONIOENCODING=utf-8 PYTHONUTF8=1 venv/Scripts/cli-hub install videocaptioner
venv/Scripts/cli-anything-videocaptioner --help
Actual behavior
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "...\Scripts\cli-anything-videocaptioner.exe\__main__.py", line 4, in <module>
File "...\Lib\site-packages\cli_anything\videocaptioner\videocaptioner_cli.py", line 24, in <module>
from cli_anything.videocaptioner.core import synthesize as synthesize_mod
File "...\Lib\site-packages\cli_anything\videocaptioner\core\synthesize.py", line 4, in <module>
from cli_anything.videocaptioner.core.review import ensure_subtitle_consistency
ModuleNotFoundError: No module named 'cli_anything.videocaptioner.core.review'
ls on the installed cli_anything/videocaptioner/core/ directory confirms only these files are shipped:
__init__.py pipeline.py subtitle.py synthesize.py transcribe.py
review.py is absent. The import at synthesize.py:4 (from cli_anything.videocaptioner.core.review import ensure_subtitle_consistency) therefore fails unconditionally.
Expected behavior
review.py (or equivalent module exposing ensure_subtitle_consistency) should be included in the wheel. Likely a MANIFEST.in / setup.py packages misconfiguration, or the file was never committed alongside synthesize.py that depends on it.
Workaround (for others hitting this)
Call the underlying videocaptioner package directly — it installs as a dependency of the wrapper and works fine on its own:
PYTHONIOENCODING=utf-8 PYTHONUTF8=1 venv/Scripts/videocaptioner --help
The underlying tool exposes the same surface area (transcribe, subtitle, synthesize, process, download, config) just without the cli-anything --json normalization layer.
Side note — Windows encoding
Every cli-hub / cli-anything-* invocation on Windows Git Bash requires PYTHONIOENCODING=utf-8 PYTHONUTF8=1 to avoid UnicodeEncodeError: 'charmap' codec can't encode character '\u2713' when status symbols are emitted. Not the cause of this bug but worth documenting for Windows installs.
Source: HKUDS/CLI-Anything