#!/usr/bin/env python3 """Scan all imports in qwen3-tts to find missing pip packages.""" import subprocess, sys result = subprocess.run( ["docker", "run", "--rm", "--entrypoint", "bash", "sudx/qwen3-tts:latest", "-c", "grep -rh '^import\\|^from' /opt/qwen3-tts/qwen3_tts_gguf/ 2>/dev/null | " "grep -v __pycache__ | sort -u"], capture_output=True, text=True ) print(result.stdout) if result.stderr: print("STDERR:", result.stderr, file=sys.stderr)