first off I am really new to linux so please bear with me...
I'd like to install a module called SoundAnalyse so that I can run this code.
I tried this command:
Code: Select all
pi@raspberrypi ~ $ sudo apt-get install python-SoundAnalyseCode: Select all
E: Unable to find a source package for python-SoundAnalyseCode: Select all
(myenv)pi@raspberrypi ~ $ sudo pip install SoundAnalyseCode: Select all
Downloading/unpacking SoundAnalyse
Downloading SoundAnalyse-0.1.1.tar.gz
Running setup.py egg_info for package SoundAnalyse
Installing collected packages: SoundAnalyse
Running setup.py install for SoundAnalyse
building 'analyseffi' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c analyseffi.c -o build/temp.linux-armv6l-2.7/analyseffi.o
analyseffi.c:1:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/pi/build/SoundAnalyse/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-jWJicR-record/install-record.txt:
running install
running build
running build_py
creating build
creating build/lib.linux-armv6l-2.7
copying analyse.py -> build/lib.linux-armv6l-2.7
running build_ext
building 'analyseffi' extension
creating build/temp.linux-armv6l-2.7
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c analyseffi.c -o build/temp.linux-armv6l-2.7/analyseffi.o
analyseffi.c:1:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/pi/build/SoundAnalyse/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-jWJicR-record/install-record.txt failed with error code 1 in /home/pi/build/SoundAnalyse
Storing complete log in /root/.pip/pip.logThanks in advance!
EDIT:
OS: raspbian from noobs v 1.3.4
python v 2.7.3