title: How to install python-gammu on Raspberry pi
body: <p>I have a problem when installing the python module for gammu on a
  raspberry pi model b+. How can i solve this problem ? Thanks!</p>
  
  <pre><code>pi@raspberrypi ~ $ sudo pip install python-gammu
  Downloading/unpacking python-gammu
    Running setup.py egg_info for package python-gammu
      Package gammu was not found in the pkg-config search path.
      Perhaps you should add the directory containing `gammu.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'gammu' found
      Traceback (most recent call last):
        File "&lt;string&gt;", line 14, in &lt;module&gt;
        File "/home/pi/build/python-gammu/setup.py", line 108, in &lt;module&gt;
          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 with exit status 1
      Complete output from command python setup.py egg_info:
      Package gammu was not found in the pkg-config search path.
  
  Perhaps you should add the directory containing `gammu.pc'
  
  to the PKG_CONFIG_PATH environment variable
  
  No package 'gammu' found
  
  Traceback (most recent call last):
  
    File "&lt;string&gt;", line 14, in &lt;module&gt;
  
    File "/home/pi/build/python-gammu/setup.py", line 108, in &lt;module&gt;
  
      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 with exit status 1
  
  ----------------------------------------
  Command python setup.py egg_info failed with error code 1 in /home/pi/build/python-gammu
  Storing complete log in /root/.pip/pip.log
  </code></pre>