title: sudo easy_install bsddb3 error :Can't find a local Berkeley DB installation
body: <p>I tried to make a plugin on qgis with Python 2.7.3</p>
  
  <p>and there is a error happend
  <img src="https://i.stack.imgur.com/EWnYK.png" alt="images"></p>
  
  <p>and I find a way to install <strong>bsddb3</strong> to replace bsddb</p>
  
  <p>but when I try </p>
  
  <pre><code>$sudo easy_install bsddb3
  </code></pre>
  
  <p>it's give me a error</p>
  
  <pre><code>Can't find a local Berkeley DB installation
  </code></pre>
  
  <p>I have find a way that installed Homebrew and GCC can solve the problem</p>
  
  <p>but after I install but error still happen</p>
  
  <p>how I fix the problem?</p>
  
  <p>here is i followed the steps on the </p>
  
  <p><a href="http://marc-abramowitz.com/archives/2007/11/28/hacking-os-xs-python-dbhash-and-bsddb-modules-to-work/" rel="nofollow noreferrer">Hacking OS X’s Python dbhash and bsddb modules to work</a></p>
  
  <p><a href="http://marc-abramowitz.com/archives/2007/11/28/hacking-os-xs-python-dbhash-and-bsddb-modules-to-work/" rel="nofollow noreferrer">2</a></p>
  
  <p><img src="https://i.stack.imgur.com/sZ1QF.png" alt="enter image description here"></p>