|
Re: Installation problem around sqlite3.h: msg#00006python.db.pysqlite.user
I was groping very slowly towards this but you clarified it for me, thank you, Gerhard. I followed this route > ... Find SQLite3 RPMs for CentOS ... because I managed to get yum working through the firewall today. As reported by yum I now have both sqlite and sqlite-devel installed (located around /usr not /usr/local, version 3.2.2 release 1). However building and installing pysqlite (2.2.2) doesn't bring up the right results. >>> from pysqlite2 import test Traceback (most recent call last): File "<stdin>", line 1, in ? File "pysqlite2/test/__init__.py", line 25, in ? from pysqlite2.test import dbapi, types, userfunctions, factory, transactions,\ File "pysqlite2/test/dbapi.py", line 26, in ? import pysqlite2.dbapi2 as sqlite File "pysqlite2/dbapi.py", line 27, in ? from pysqlite2._sqlite import * ImportError: No module named _sqlite >>> I'm not getting the output I expect from 'python setup.py build', so I suppose that indicates where the problem might be. Setup.cfg looks about right (/usr/include and /usr/lib). There is no error message - it just says it's running build, then build_py, then build_ext but completes rather quickly and says nothing about 'Creating library...'. Against my expectations I've had an easier time with postgres and pyscopg, so have now turned to that. Thank you again, Geoff |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: How big an integer in SQLite?: 00006, David Pratt |
|---|---|
| Next by Date: | Re: Installation problem around sqlite3.h: 00006, Gerhard Häring |
| Previous by Thread: | How big an integer in SQLite?i: 00006, David Pratt |
| Next by Thread: | Re: Installation problem around sqlite3.h: 00006, Gerhard Häring |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |