我通过在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.
如果我不需要这些模块,我现在可以安全地忽略这些模块及其缺失的部分吗?如果我将来需要这些模块,我可以安装它们吗?
如果我需要安装它们,我该如何安装模块的缺失位然后安装模块?
它说在setup.py中查看模块中的detect_modules(),但我不确定如何为每个模块单独执行此操作?
"缺少的位"一些开发库(不只是共享库,还有源代码)?在Synaptic包管理器中,我只猜测要安装哪个库。
例如,
对于python中的_ssl
模块,我应该在Ubuntu中安装libssl-dev
吗?
我不知道要为_bsddb
安装什么。 python-bsddb3
已经安装,我在突触中找不到libbsddb3-dev
或libbsddb3
,但我找到了python-bsddb3-dbg
。我应该安装什么?
感谢。