Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8063037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:53:11+00:00 2026-06-05T10:53:11+00:00

Python 2.7.3 on Mac OS X Snow Leopard (downloaded from python.org), tells me it

  • 0

Python 2.7.3 on Mac OS X Snow Leopard (downloaded from python.org), tells me it is using sqlite 3.6.12 (sqlite3.sqlite_version).
However, to use foreign keys, I need at least sqlite 3.6.19.

How can I update sqlite alone?

I already tried pip install pysqlite (from this question/answer: Updating the SQLite3 build on my python install), but the sqlite_version did not change. pip search sqlite shows pysqlite 2.6.3 is installed, but I still have, both from commands python and python2.7

>>> import sqlite3
>>> sqlite3.sqlite_version  #3.6.12
>>> sqlite3.version         #2.6.0 (yeah, no 2.6.3)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T10:53:13+00:00Added an answer on June 5, 2026 at 10:53 am

    You’ll first need to install SQLite, then build and install pysqlite, making sure that it’s building against your newly installed version of sqlite and not the system’s version of sqlite. Alternately, if pysqlite is dynamically linked, you might be able to fiddle with LD_LIBRARY_PATH to make your existing pysqlite load the newer version of the library.

    For more, see: https://groups.google.com/group/python-sqlite/browse_thread/thread/9fb6694c803431eb

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running Python 2.6.4 on Mac Snow Leopard. I installed pycurl using: sudo env
I'm using the Python 2.5 that came with Mac OS X Snow Leopard (10.6).
I need to run Python 2.7 on my Mac Snow Leopard, which has Python
Does iPython work on Mac OS X 10.6.1 Snow Leopard? I'm python noob, how
I'm new to Mac so please bear with me. I'm using snow leopard 10.6.4
I have just update my Mac from Snow Leopard to Lion. I then needed
I just installed python 2.6 on Mac OS X (Snow Leopard) and when I
While trying to install PIL for Python 2.6 on Mac OS X Snow Leopard
I'm encountering a build problem for Python 2.6.4 on Snow Leopard. Mac OS X
I'm on a Mac OS X Snow Leopard with Python 2.6.5, I'm trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.