You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ docker run python:slim python -c 'import dbm.ndbm'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.11/dbm/ndbm.py", line 3, in <module>
from _dbm import *
ModuleNotFoundError: No module named '_dbm'
$ docker run python:slim find /usr/local/lib/python3.11/lib-dynload/ -name '*dbm*' -print
/usr/local/lib/python3.11/lib-dynload/_gdbm.cpython-311-x86_64-linux-gnu.so
python
$ docker run python python -c 'import dbm.ndbm'
$ docker run python find /usr/local/lib/python3.11/lib-dynload/ -name '*dbm*' -print
/usr/local/lib/python3.11/lib-dynload/_dbm.cpython-311-x86_64-linux-gnu.so
/usr/local/lib/python3.11/lib-dynload/_gdbm.cpython-311-x86_64-linux-gnu.so
Is it possible to include it? Or could you please advise me how to use it?
The text was updated successfully, but these errors were encountered:
Ah, doing ldd on /usr/local/lib/python3.11/lib-dynload/_dbm.cpython-311-x86_64-linux-gnu.so gives libdb-5.3.so, which is part of libdb5.3, so I bet what we need is libdb-dev? 🤔
python:slim
python
Is it possible to include it? Or could you please advise me how to use it?
The text was updated successfully, but these errors were encountered: