Is dbm.gnu not supported on Python 3.7 Windows?
问题 When doing import dbm.gnu on a standard Python 3.7.6 (64) for Windows, I get: File "C:\Python37\lib\dbm\gnu.py", line 3, in from _gdbm import * ModuleNotFoundError: No module named '_gdbm' Isn't dbm.gnu supported out of the box on Windows? The same problem happens with: import dbm.ndbm File "C:\Python37\lib\dbm\ndbm.py", line 3, in from _dbm import * ModuleNotFoundError: No module named '_dbm' I tested on another Python 3.6.8, and it's the same. 来源: https://stackoverflow.com/questions