python-samplerate icon indicating copy to clipboard operation
python-samplerate copied to clipboard

Suggestion - Improve installation instructions

Open RomanKosobrodov opened this issue 6 years ago • 1 comments

Thank you for writing this. Exactly what I needed for resampling a live audio stream!

I would be great if you could provide more detailed installation instructions for Linuxes.

It took me a while to figure out how to install it on Debian inside a Docker image. 'pip install samplerate' does not check if libsamplerate0 is present. You only get an OSError when you first 'import samplerate'. I suggest you add instructions similar to these:

Ubuntu and Debian

sudo apt-get install libsamplerate0

Arch Linux

sudo pacman -S libsamplerate

Alpine Linux

sudo apk add libsamplerate

, etc. (I only tested Debian/Ubuntu, though.)

Also, please update https://pypi.org/project/samplerate/ to include these instructions.

RomanKosobrodov avatar Jul 09 '19 05:07 RomanKosobrodov

Thank you for the feedback! If you check the README.rst here on Github, you'll see that the packages are already mentioned there (commit a9b5d2a). However, there were only a few changes since then, so I didn't bump the version number or update the package on PyPI. This is long overdue now :)

tuxu avatar Jul 09 '19 17:07 tuxu