title: Django: Upgrading sqlite3 database on MacOS, Python still showing the older version even after upgrading
body: <p>I had sqlite3 version <code>3.23.1</code> installed. and the sqlite binary file path is:</p>
  <pre><code>/anaconda3/bin/sqlite3
  </code></pre>
  <p>then I downloaded the sqlite3 zip file from <a href="https://sqlite.org/download.html" rel="nofollow noreferrer">https://sqlite.org/download.html</a> (version 3.35.4).
  Then followed the following commands to upgrade my sqlite3 database:</p>
  <pre><code>which sqlite3
  
  sudo mv /anaconda3/bin/sqlite3 /anaconda3/bin/sqlite3-old
  
  sudo chmod -x /anaconda3/bin/sqlite3-old
  
  mv /downloads/sqlite3-downloaded-directory/sqlite3 /anaconda3/bin/
  
  sudo chmod +x /anaconda3/bin/sqlite3
  
  </code></pre>
  <p>Then I checked the version:</p>
  <pre><code>sqlite3 --version
  </code></pre>
  <p>and it showed the upgraded version</p>
  <pre><code>3.35.4
  
  </code></pre>
  <p>But then I went into my Atom editor where I am writing my Django application and entered into the python shell using:</p>
  <pre><code>python manage.py shell
  </code></pre>
  <p>and then checked the version from here using the following commands:</p>
  <pre><code>&gt;&gt; import sqlite3
  &gt;&gt; print(sqlite3.sqlite_version)
  </code></pre>
  <p>but it is still showing the older version i.e <code>3.23.1</code></p>
  <p>Does anyone has an idea how to resolve this issue.</p>