Changes between Version 27 and Version 28 of PySqlite
- Timestamp:
- May 5, 2007, 1:43:23 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PySqlite
v27 v28 118 118 PySqlite is version 2 (2.3.2), compiled and linked to use version SQLite 3.1.3. 119 119 120 Another way to test the bindings with PySqlite 2 is to use: 121 {{{ 122 >>> from pysqlite2 import dbapi2 as sqlite 123 }}} 124 125 This test should not fail. 126 120 127 === Common ''Oops'' === 121 128 … … 226 233 A common mistake is to install PySqlite for one Python interpreter, and run the server with another Python interpreter: both interpreters do not use the same paths to search for modules. 227 234 235 ==== _sqlite.so: Undefined symbol "PyGILState_Ensure" ==== 236 237 If after the import test you encounter this message it most likely means that your Python was not compiled with threads support. On FreeBSD this is easily verified by doing a {{{grep -i threads /var/db/ports/python24/options}}}. If it comes back with a {{{WITHOUT_THREADS=true}}} you need to configure Python to be compiled with threads by executing {{{make config}}} in the appropriate Python ports directory and subsequently recompile and replace Python. 238 228 239 === Other issues === 229 240