Skip to content

Python 2.7 Full: sqlite3 module doesn't work in virtualenv #492

@domenkozar

Description

@domenkozar
>>> import sqlite3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/nix/store/yzj6p5f7iyh247pwxrg97y3klm6d0cni-python-2.7.3/lib/python2.7/sqlite3/__init__.py", line 24, in <module>
    from dbapi2 import *
  File "/nix/store/yzj6p5f7iyh247pwxrg97y3klm6d0cni-python-2.7.3/lib/python2.7/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: No module named _sqlite3

@chaoflow @garbas can you reproduce?

Metadata

Metadata

Assignees

Labels

0.kind: bugSomething is broken6.topic: pythonPython is a high-level, general-purpose programming language.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions