title: Symbol not found: _sqlite3_enable_load_extension - sqlite installed via homebrew
body: <p>Symptom: In my Django app, when I call <code>from pysqlite2._sqlite import *</code> I get the traceback <code>Symbol not found: _sqlite3_enable_load_extension</code> when </p>
  
  <p>Background:</p>
  
  <ul>
  <li>I've installed python using homebrew (python 2.7.13), which auto installed sqlite</li>
  <li>I am running macOS 10.12.3 with Command Line Tools macOS 10.12, Xcode 8.2.1</li>
  <li>I've installed pysqlite using pip (pysqlite 2.8.3)</li>
  </ul>
  
  <p>I have tried</p>
  
  <ul>
  <li><code>brew uninstall sqlite</code> and <code>brew uninstall python</code> and reinstalling</li>
  <li><p>Adding these to my .bash_profile </p>
  
  <pre><code>export PATH="$(brew --prefix sqlite)/bin:$PATH"
  LDFLAGS="-L/usr/local/opt/sqlite/lib"
  CPPFLAGS="-I/usr/local/opt/sqlite/include"
  export PKG_CONFIG_PATH=“/usr/local/opt/sqlite/lib/pkgconfig”
  </code></pre></li>
  <li><p>python -c "import sqlite3" doesn't return any errors</p></li>
  </ul>
  
  <p>Gist of traceback: <a href="https://gist.github.com/xwchen/e9704fa34f0463d2117fe9fbb37922a1" rel="noreferrer">https://gist.github.com/xwchen/e9704fa34f0463d2117fe9fbb37922a1</a></p>