TheFooBarWay
TheFooBarWay

Reputation: 594

Compile errors trying to install WebRTCVAD module

I'm trying to create an app that uses the WebRTC VAD code. I have found this: https://pypi.python.org/pypi/webrtcvad

The issue is that I cannot get it to work. I extract the content into a folder but when It ry to run something it complains that _webrtcvad module is missing.

After a little research I tried to install the webRTC VAD module through pip. When doing this inside the folder I extracted into I get this:

enter image description here

When trying in another directory this happens: enter image description here

How do I get this to work?

Upvotes: 1

Views: 5069

Answers (1)

John Wiseman
John Wiseman

Reputation: 3137

The problem was a bug in my webrtcvad's setup.py that caused it to use the wrong flags when compiling for Windows: it was using -DWEBRTC_POSIX instead of -DWIN32.

The fixed version has been pushed to pypi as version 2.0.9. I've confirmed that pip install webrtcvad works correctly on Windows 10.

Upvotes: 4

Related Questions