python-sounddevice: WDM-KS is broken on Windows 10 via VMware
I tried pip install sounddevice
then importing it, on 64 bit windows with 64 bit python - and it wasn’t happy…
C:\Users\stu\Desktop\planar>python
Python 2.7.10rc1 (default, May 10 2015, 18:50:04) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sounddevice
Assertion failed!
Program: C:\Python27\python.exe
File: src/hostapi/wdmks/pa_win_wdmks.c, Line 1035
Expression: FALSE
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
About this issue
- Original URL
- State: open
- Created 9 years ago
- Reactions: 1
- Comments: 41 (20 by maintainers)
OK, copying and renaming portaudio_x86.dll in ReleaseMinDependency first and it seemed to work:
Those don’t seem to support WDM-KS, and your error was there …
Could you please try those: https://github.com/adfernandes/precompiled-portaudio-windows?
I don’t want to disable WDM-KS in the pre-packaged DLLs, because on some (most?) systems it works fine and as I understand it’s one of the more professional (i.e. low latency) backends.
@Maneesh3 Please note that the link you are recommending points to an older PortAudio version.
It would probably better to recommend Christoph Gohlke’s DLLs instead: http://www.lfd.uci.edu/~gohlke/pythonlibs/#sounddevice
Those are also easier to install by simply using
pip
. The previous installation can be uninstalled withpip uninstall sounddevice
.