FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

LinkBack Thread Tools
Old 01-31-2009, 03:20 AM
"Michael P. Soulier"
Default can't get pysqlite custom build working

I have a custom build of python 2.3 for work compatability purposes. I built
pysqlite-2.5.1 against it, but it refuses to load.

msoulier@anton:...mp/pysqlite-2.5.1$ ~/work/msl8/bin/python
Python 2.3.7 (#1, Jan 21 2009, 17:23:45)
[GCC 4.1.2 (Gentoo 4.1.2 p1.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pysqlite2 import dbapi2 as sqlite
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "pysqlite2/dbapi2.py", line 27, in ?
from pysqlite2._sqlite import *
ImportError: No module named _sqlite

A pysqlite developer tells me that this is due to sqlite being built on my
Gentoo box with custom options. He did not elaborate as to which options might
cause the issue.

I don't suppose anyone has done this themselves? I'm not sure how to solve

Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction."
--Albert Einstein

Thread Tools

All times are GMT. The time now is 07:26 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org