Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation of sqlite3 fails #48408

Closed
jlp mannequin opened this issue Oct 21, 2008 · 3 comments
Closed

compilation of sqlite3 fails #48408

jlp mannequin opened this issue Oct 21, 2008 · 3 comments
Labels
build The build process and cross-build stdlib Python modules in the Lib dir

Comments

@jlp
Copy link
Mannequin

jlp mannequin commented Oct 21, 2008

BPO 4158
Nosy @brettcannon

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2009-11-25.20:01:28.576>
created_at = <Date 2008-10-21.14:36:26.519>
labels = ['invalid', 'build', 'library']
title = 'compilation of sqlite3 fails'
updated_at = <Date 2009-11-25.20:01:28.575>
user = 'https://bugs.python.org/jlp'

bugs.python.org fields:

activity = <Date 2009-11-25.20:01:28.575>
actor = 'brett.cannon'
assignee = 'none'
closed = True
closed_date = <Date 2009-11-25.20:01:28.576>
closer = 'brett.cannon'
components = ['Library (Lib)']
creation = <Date 2008-10-21.14:36:26.519>
creator = 'jlp'
dependencies = []
files = []
hgrepos = []
issue_num = 4158
keywords = []
message_count = 3.0
messages = ['75027', '75034', '95723']
nosy_count = 2.0
nosy_names = ['brett.cannon', 'jlp']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue4158'
versions = ['Python 3.0']

@jlp
Copy link
Mannequin Author

jlp mannequin commented Oct 21, 2008

This is a dump of the error:

Python 3.0rc1 (r30rc1:66499, Oct 6 2008, 12:44:02)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> import sqlite3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/devp/altBIN/Python3r/lib/python3.0/sqlite3/__init__.py",
line 24, in <module>
    from sqlite3.dbapi2 import *
  File "/home/devp/altBIN/Python3r/lib/python3.0/sqlite3/dbapi2.py",
line 27, in <module>
    from _sqlite3 import *
ImportError: No module named _sqlite3

@jlp jlp mannequin added type-crash A hard crash of the interpreter, possibly with a core dump stdlib Python modules in the Lib dir labels Oct 21, 2008
@brettcannon
Copy link
Member

Looks like sqlite3 was not compiled for you. To verify, run make
again and note what modules it lists at the very end as not built. I bet
it lists sqlite3 there.

@brettcannon brettcannon changed the title import of sqlite3 fails compilation of sqlite3 fails Oct 21, 2008
@brettcannon brettcannon added build The build process and cross-build and removed type-crash A hard crash of the interpreter, possibly with a core dump labels Oct 21, 2008
@florentx
Copy link
Mannequin

florentx mannequin commented Nov 25, 2009

Please close as invalid.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

1 participant