Install QuQu using uv (Recommended)
mainThe recommended way to initialize the project is using uv, a modern Python package manager that automatically manages Python versions and dependencies to avoid environment conflicts.
Prerequisites
- Node.js 18+ and
pnpm - macOS 10.15+, Windows 10+, or Linux
Installation Steps
- Clone the repository and enter the directory.
- Install Node.js dependencies using
pnpm. - Install
uvif you haven't already. - Use
uv syncto initialize the Python environment (this will automatically download Python 3.11 and all required dependencies). - Download the FunASR models.
- Start the application.
Note: uv handles the Python environment isolation for you.
# 1. 克隆项目
git clone https://github.com/yan5xu/ququ.git
cd ququ
# 2. 安装 Node.js 依赖
pnpm install
# 3. 安装 uv (如果尚未安装)
# macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows:
# powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# 4. 初始化 Python 环境 (uv 会自动下载 Python 3.11 和所有依赖)
uv sync
# 5. 下载 FunASR 模型
uv run python download_models.py
# 6. 启动应用!
pnpm run dev