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

missing sqlite3 dependency on ubuntu 22.04 (and others?) #97

Open
aronatkins opened this issue Aug 7, 2024 · 1 comment
Open

missing sqlite3 dependency on ubuntu 22.04 (and others?) #97

aronatkins opened this issue Aug 7, 2024 · 1 comment

Comments

@aronatkins
Copy link
Contributor

After installing Python 3.11.9 into an ubuntu:22.04 image:

/opt/python/3.11.9/bin/python -c 'import sqlite3'
#> Traceback (most recent call last):
#>   File "<string>", line 1, in <module>
#>   File "/opt/python/3.11.9/lib/python3.11/sqlite3/__init__.py", line 57, in <module>
#>     from sqlite3.dbapi2 import *
#>   File "/opt/python/3.11.9/lib/python3.11/sqlite3/dbapi2.py", line 27, in <module>
#>     from _sqlite3 import *
#> ImportError: libsqlite3.so.0: cannot open shared object file: No such file or directory

Resolved by installing sqlite3.

apt-get install -y sqlite3
@edavidaja
Copy link
Collaborator

I can reproduce on noble; testing an updated build locally and will trigger a rebuild if successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants