On Thu, Apr 13, 2006 at 05:08:25PM +0200, Dawid Gajownik alleged: > Hi! > > I wanted to update python-sqlite2 to version 2.2.0 but I cannot run > tests in %check section. It always fails with this message: > > Wykonywanie(%check): /bin/sh -e /var/tmp/rpm-tmp.54371 > + umask 022 > + cd /home/rpm-build/rpmbuild/BUILD > + cd pysqlite-2.2.0 > + PYTHONPATH=/var/tmp/python-sqlite2-2.2.0-1-root-rpm-build/usr/lib/python2.4/site-packages > + /usr/bin/python -c 'from pysqlite2.test import test; test()' > Traceback (most recent call last): > File "<string>", 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/dbapi2.py", line 32, in ? > from pysqlite2._sqlite import * > ImportError: No module named _sqlite Need to export PYTHONPATH before running python? -- Garrick Staples, Linux/HPCC Administrator University of Southern California
Attachment:
pgpJwznAbmgzi.pgp
Description: PGP signature
-- fedora-extras-list mailing list fedora-extras-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-extras-list