title: ModuleNotFoundError: No module named '_sqlite3'
body: <p>On Redhat 4.4.7-18 I am trying to run python3 code using sqlite, but I get the following import error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "database.py", line 7, in &lt;module&gt;
      import sqlite3
    File "/usr/local/lib/python3.6/sqlite3/__init__.py", line 23, in &lt;module&gt;
      from sqlite3.dbapi2 import *
    File "/usr/local/lib/python3.6/sqlite3/dbapi2.py", line 27, in &lt;module&gt;
      from _sqlite3 import *
  ModuleNotFoundError: No module named '_sqlite3'
  </code></pre>
  
  <p>I tried to install it: </p>
  
  <pre><code>&gt;sudo pip install sqlite3
  Collecting sqlite3
    Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/sqlite3/
  </code></pre>
  
  <p>(while the network is reachable...) and with the following command:</p>
  
  <pre><code>&gt; sudo yum install sqlite-devel
  Loaded plugins: post-transaction-actions, product-id, refresh-packagekit,
                : rhnplugin, search-disabled-repos, security, subscription-manager
  This system is receiving updates from RHN Classic or RHN Satellite.
  Setting up Install Process
  Package sqlite-devel-3.6.20-1.el6_7.2.x86_64 already installed and latest version
  Nothing to do
  </code></pre>
  
  <p>So it is installed and not installed? Any suggestion how I can solve the original problem?</p>