Skip to content

Support Windows installation out-of-the-box via webrtcvad-wheels #99

@huangbilly

Description

@huangbilly

Hello! First, thank you for the fantastic work on this package.

Currently, installing Resemblyzer on a clean Windows machine immediately fails because it strictly requires the standard webrtcvad package. webrtcvad only distributes raw source code on PyPI, which forces Windows users to install massive Microsoft Visual C++ Build Tools just to compile it during the pip install process.

The Fix:
There is a community-maintained, pre-compiled package on PyPI called webrtcvad-wheels that completely bypasses this C++ compilation step for Windows users.

Since setup.py dynamically reads from requirements_package.txt, we can use PEP 508 Environment Markers to seamlessly route Windows users to the pre-compiled wheel, while keeping standard webrtcvad for Linux/macOS.

If you update requirements_package.txt to replace the webrtcvad line with these two lines:

webrtcvad>=2.0.10; sys_platform != 'win32'
webrtcvad-wheels>=2.0.14; sys_platform == 'win32'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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