Skip to content

B"H Failed to build 'av' on Windows 11 — Build error in av\logging.pyx (Cython) #463

@jairojoelsas

Description

@jairojoelsas

Hello OpenVoice team,

I’m trying to install OpenVoice on Windows 11, using Python 3.10.11, and I'm consistently running into the following error during pip install -r requirements.txt:

ERROR: Failed to build 'av' when getting requirements to build wheel

The log shows this happens in:

av\logging.pyx

Here’s what I’ve already tried:

  • Installed Visual Studio Build Tools with “Desktop development with C++” enabled
  • Tried adding av==10.0.0 ; sys_platform == "never" to skip av
  • Tried forcing installation with --no-build-isolation and --no-deps
  • Installed essential packages manually (torch, gradio, numpy, whisper, etc.)

I have a fully working environment for Whisper (import whisper works), and everything is installed except faster-whisper, which depends on av.

My Questions:

  1. Is there a working installation path for OpenVoice on Windows that bypasses av successfully?
  2. Do you recommend using Docker or Linux (WSL or native) for a complete installation?
  3. Is a Windows support update planned, or is this a known limitation?

Would appreciate any guidance or a documented workaround.
Thank you in advance!

Best regards,
Jairo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions