Hi everyone:)
I'm playing around with my raspberry, precisly I'm trying to retrieve some info from the mic with python.
I found this library which appears to be perfect to do what I want to do, I installed it but when I try to launch it by typing from the command line I get the error "missing module", so I tried to verify the installation and the command line also says to me that the module is alredy there.
What should I do?
Quote:pi@raspberrypi:~ $ soundmeter
Traceback (most recent call last):
File "/usr/local/sbin/soundmeter", line 6, in <module>
from soundmeter import main
File "/usr/local/sbin/soundmeter.py", line 6, in <module>
from soundmeter.meter import main
ImportError: No module named meter
pi@raspberrypi:~ $ sudo pip install soundmeter
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: soundmeter in /usr/local/lib/python2.7/dist-packages (0.1.5)
Requirement already satisfied: python-daemon in /usr/local/lib/python2.7/dist-packages/python_daemon-2.2.4-py2.7.egg (from soundmeter) (2.2.4)
Requirement already satisfied: pydub in /usr/local/lib/python2.7/dist-packages/pydub-0.23.1-py2.7.egg (from soundmeter) (0.23.1)
Requirement already satisfied: pyaudio in /usr/local/lib/python2.7/dist-packages/PyAudio-0.2.11-py2.7-linux-armv6l.egg (from soundmeter) (0.2.11)
Requirement already satisfied: argparse in /usr/lib/python2.7 (from soundmeter) (1.2.1)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from soundmeter) (1.12.0)
Requirement already satisfied: docutils in /usr/local/lib/python2.7/dist-packages/docutils-0.16-py2.7.egg (from python-daemon->soundmeter) (0.16)
Requirement already satisfied: lockfile>=0.10 in /usr/local/lib/python2.7/dist-packages/lockfile-0.12.2-py2.7.egg (from python-daemon->soundmeter) (0.12.2)
Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from python-daemon->soundmeter) (40.8.0)