Click here to Skip to main content
15,910,981 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i try to install pyaudio 0.2.9 in raspberrypi2 module under NOOBs os. i had error. pleases help.this is for voice recognising project
thank you

What I have tried:

sudo apt-get install python-pyaudio python3-pyaudio
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
python-pyaudio-doc
The following NEW packages will be installed:
python-pyaudio python3-pyaudio
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 46.8 kB of archives.
After this operation, 194 kB of additional disk space will be used.
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-pyaudio armhf 0.2.8-1 [23.2 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main python3-pyaudio armhf 0.2.8-1 [23.6 kB]
Fetched 46.8 kB in 1s (25.6 kB/s)
Selecting previously unselected package python-pyaudio.
(Reading database ... 128638 files and directories currently installed.)
Preparing to unpack .../python-pyaudio_0.2.8-1_armhf.deb ...
Unpacking python-pyaudio (0.2.8-1) ...
Selecting previously unselected package python3-pyaudio.
Preparing to unpack .../python3-pyaudio_0.2.8-1_armhf.deb ...
Unpacking python3-pyaudio (0.2.8-1) ...
Setting up python-pyaudio (0.2.8-1) ...
Setting up python3-pyaudio (0.2.8-1) ...
N: Ignoring file '01proxy.save.1' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
pi@raspberrypi:~ $ /etc/apt/apt.conf.d
bash: /etc/apt/apt.conf.d: Is a directory
pi@raspberrypi:~ $ sudo nano /etc/apt/apt.conf.d
pi@raspberrypi:~ $ pip install pyaudio
Requirement already satisfied (use --upgrade to upgrade): pyaudio in /usr/lib/python2.7/dist-packages
Cleaning up...
pi@raspberrypi:~ $ pip list
argparse (1.2.1)
chardet (2.3.0)
colorama (0.3.2)
gpiozero (1.2.0)
html5lib (0.999)
lxkeymap (0.1)
mcpi (0.1.1)
ndg-httpsclient (0.3.2)
numpy (1.8.2)
picamera (1.10)
pifacecommon (4.2.1)
pifacedigitalio (3.1.0)
Pillow (2.6.1)
pip (1.5.6)
pyasn1 (0.1.7)
PyAudio (0.2.8)
pygame (1.9.2a0)
pygobject (3.14.0)
pyOpenSSL (0.13.1)
pyserial (2.6)
requests (2.4.3)
RPi.GPIO (0.6.2)
RTIMULib (7.2.1)
sense-hat (2.1.0)
setuptools (5.5.1)
six (1.8.0)
spidev (3.0)
urllib3 (1.9.1)
wheel (0.24.0)
wsgiref (0.1.2)
Posted
Updated 17-Sep-16 9:16am
Comments
David_Wimbley 17-Sep-16 18:35pm    
You might have better luck posting this to a forum specializing in rasberry pi.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900