I tried that helped me with some of these modules.
You must edit setup.py.
Locate the following lines in the setup.py line:
lib_dirs = self.compiler.library_dirs + [ '/lib64', '/usr/lib64', '/lib', '/usr/lib', ]
For 64-bit
Add /usr/lib/x86_64-linux-gnu :
lib_dirs = self.compiler.library_dirs + [ '/lib64', '/usr/lib64', '/lib', '/usr/lib', '/usr/lib/x86_64-linux-gnu', ]
For 32-bit
Add /usr/lib/i386-linux-gnu :
lib_dirs = self.compiler.library_dirs + [ '/lib64', '/usr/lib64', '/lib', '/usr/lib', '/usr/lib/i386-linux-gnu', ]
Note x86_64-linux-gnu and i386-linux-gnu may be located elsewhere on your system, so the path is accordingly.
To do this, you will only have the following modules:
_bsddb bsddb185 dbm gdbm sunaudiodev
source share