You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.
Describe the bug
audio.py fails somewhat opaquely when the required C headers are missing. The following Linux packages might be required (mostly just libasound2-dev I think, need to look into it more):
To Reproduce
The headers seem to be missing by default on some Linux machine. If they are missing, when you try installing simpleaudio by doing pip install simpleaudio, or you try to use the Shepherd Pipenv, you get an error that looks like this:
c_src/simpleaudio_alsa.c:8:10: fatal error: alsa/asoundlib.h: No such file or directory
#include <alsa/asoundlib.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
To Fix
Some documentation that these packages are required should be sufficient.
The text was updated successfully, but these errors were encountered:
charleshong3
changed the title
Document that simpleaudio Python package requires various Linux packages
simpleaudio Python package installation fails due to required Linux packages
Sep 29, 2019
Describe the bug
audio.py fails somewhat opaquely when the required C headers are missing. The following Linux packages might be required (mostly just
libasound2-dev
I think, need to look into it more):To Reproduce
The headers seem to be missing by default on some Linux machine. If they are missing, when you try installing simpleaudio by doing
pip install simpleaudio
, or you try to use the Shepherd Pipenv, you get an error that looks like this:To Fix
Some documentation that these packages are required should be sufficient.
The text was updated successfully, but these errors were encountered: