First trying installing the usual way with pip:
pip install radiopy
pip
failed to find the package this way on my Ubuntu box. The following worked
pip install git+http://git.code.sf.net/p/radiopy/code
The package comes with a list of pre-configured radio stations. List them as follows,
radio.py -l
radio.py -s 1 Loca FM
radio.py -w 1 Loca FM
This command fires up Loca FM after 1 minute time has passed.
radio.py -r loca2 -s 1 Loca FM
radio.py -h
pip install SpeechRecognition
To test this package after installation, you must install pyaudio, which requires v19 (at the time of this writing) of the portaudio library.
Download portaudio and follow the instructions to build the source/install for your OS.
Upone successful installation, a "Successfully installed" installed message, or something to that effect, should be output to your terminal.
pip install http://people.csail.mit.edu/hubert/pyaudio/packages/pyaudio-0.2.8.tar.gz
N.B.: The testing script looks like it is web-based. Make sure you have internet connectivity!
python -m speech_recognition
Say something sweet to your mic! It will output to the screen what it recognizes!