title: How to install pysqlite?
body: <p>I am trying to install pysqlite (Python interface to the SQLite). I downloaded the file with the package (pysqlite-2.5.5.tar.gz). And I did the following:</p>
  
  <pre><code>gunzip pysqlite-2.5.5.tar.gz
  tar xvf pysqlite-2.5.5.tar
  \cd pysqlite-2.5.5
  python setup.py install
  </code></pre>
  
  <p>At the last step I have a problem. I get the following error message:</p>
  
  <pre><code>error: command 'gcc' failed with exit status 1
  </code></pre>
  
  <p><a href="http://forums.opensuse.org/applications/400363-gcc-fails-during-pysqlite-install.html" rel="nofollow noreferrer">I found that other peoples also had this problem</a>.</p>
  
  <p>As far as I understood in the person had a problem because sqlite2 was not installed. But in my case, I have sqlite3 (I can run it from command line).</p>
  
  <p>May be I should change some paths in <code>"setup.cfg"</code>? At the moment I have there:</p>
  
  <pre><code>#define=
  #include_dirs=/usr/local/include
  #library_dirs=/usr/local/lib
  libraries=sqlite3
  define=SQLITE_OMIT_LOAD_EXTENSION
  </code></pre>
  
  <p>And if I type "which sqlite3" I get:</p>
  
  <pre><code>/usr/bin/sqlite3
  </code></pre>
  
  <p>I saw a similar question here. The answer was "you need sqlite3-dev". But, even if it is the case, how to check if I have <code>sqlite3-dev</code>. And if I do not have it how to get it?</p>
  
  <p>Can anybody pleas help me with that problem.</p>
  
  <p>Thank you in advance. </p>