hamiltron/py-simple-audio

Using simpleaudio in PyPy

cool-RR opened this issue · 2 comments

I'm considering using simpleaudio to do a demonstration in my talk on the upcoming EuroPython. However, I'll need to use pypy3. I tried to install simpleaudio on pypy3 (Windows 7), and got this error:

    building 'simpleaudio._simpleaudio' extension
    error: Microsoft Visual C++ 14.1 is required. Get it with "Microsoft Visual C++ Build Tools": htt
ps://visualstudio.microsoft.com/downloads/

Is simpleaudio supposed to work on PyPy? If I'll install Visual C++ will it actually work?

@cool-RR ,

I had been under the impression this whole time that PyPy simply didn't support the CPython C API so I never bothered trying to get builds working for PyPy - but I see now that it may in fact work. I'll dive into this and see if PyPy can be a supported build target.

Thanks for the reply. Fair disclosure, I decided to go with sounddevice for my demonstration.

I did consult with one of the PyPy maintainers, and since he has a compiler installed, he was able to pip install simpleaudio on PyPy, without doing any development work.

He sent me the compiled version, you can download it here: https://www.dropbox.com/s/aemr8upjuak92lg/simpleaudio.zip?dl=1