安装期间某些模块缺少位

时间:2015-03-17 12:44:29

标签: python ubuntu

我通过在64位Ubuntu 14.04上编译源代码来安装Python 2.7.9。 运行make似乎没有错误,但它也说

Python build finished, but the necessary bits to build these modules were not found:
_bsddb             _sqlite3           _ssl
_tkinter           bsddb185           bz2
dbm                dl                 gdbm
imageop            readline           sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
  1. 如果我不需要这些模块,我现在可以安全地忽略这些模块及其缺失的部分吗?如果我将来需要这些模块,我可以安装它们吗?

  2. 如果我需要安装它们,我该如何安装模块的缺失位然后安装模块?

    • 它说在setup.py中查看模块中的detect_modules(),但我不确定如何为每个模块单独执行此操作?

    • "缺少的位"一些开发库(不只是共享库,还有源代码)?在Synaptic包管理器中,我只猜测要安装哪个库。

    例如,

    对于python中的_ssl模块,我应该在Ubuntu中安装libssl-dev吗?

    我不知道要为_bsddb安装什么。 python-bsddb3已经安装,我在突触中找不到libbsddb3-devlibbsddb3,但我找到了python-bsddb3-dbg。我应该安装什么?

  3. 感谢。

0 个答案:

没有答案
相关问题