How to install python-gammu on Raspberry pi -


i have problem when installing python module gammu on raspberry pi model b+. how can solve problem ? thanks!

pi@raspberrypi ~ $ sudo pip install python-gammu downloading/unpacking python-gammu   running setup.py egg_info package python-gammu     package gammu not found in pkg-config search path.     perhaps should add directory containing `gammu.pc'     pkg_config_path environment variable     no package 'gammu' found     traceback (most recent call last):       file "<string>", line 14, in <module>       file "/home/pi/build/python-gammu/setup.py", line 108, in <module>         check_minimum_gammu_version()       file "/home/pi/build/python-gammu/setup.py", line 43, in check_minimum_gammu_version         "gammu"       file "/usr/lib/python2.7/distutils/spawn.py", line 34, in spawn         _spawn_posix(cmd, search_path, dry_run=dry_run)       file "/usr/lib/python2.7/distutils/spawn.py", line 167, in _spawn_posix         (cmd[0], exit_status)     distutils.errors.distutilsexecerror: command 'pkg-config' failed exit status 1     complete output command python setup.py egg_info:     package gammu not found in pkg-config search path.  perhaps should add directory containing `gammu.pc'  pkg_config_path environment variable  no package 'gammu' found  traceback (most recent call last):    file "<string>", line 14, in <module>    file "/home/pi/build/python-gammu/setup.py", line 108, in <module>      check_minimum_gammu_version()    file "/home/pi/build/python-gammu/setup.py", line 43, in check_minimum_gammu_version      "gammu"    file "/usr/lib/python2.7/distutils/spawn.py", line 34, in spawn      _spawn_posix(cmd, search_path, dry_run=dry_run)    file "/usr/lib/python2.7/distutils/spawn.py", line 167, in _spawn_posix      (cmd[0], exit_status)  distutils.errors.distutilsexecerror: command 'pkg-config' failed exit status 1  ---------------------------------------- command python setup.py egg_info failed error code 1 in /home/pi/build/python-gammu storing complete log in /root/.pip/pip.log 

i able solve problem installing complete new version of rasbian.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -