1、Error_Info 1: INFO: Can't locate Tcl/Tk libs and/or headers
1.1 解决
yum install tcl-devel
yum install tk-devel
1.2 原因
参考:
You may have to install Tcl and Tk(when using RPM, install the –devel RPM as well) and /or edit the setup.py script to point to the right locations where Tcl/Tk is installed. If you install Tcl/Tk in the default locations, simply rerunning “make” should build the _tkinter extension.
2、Error_Info 2: Python build finished, but the necessary bits to build these modules were not found
错误信息如下示:
Python build finished, but the necessary bits to build these modules were not found:
_bsddb _tkinter bsddb185
dl imageop sunaudiodev
解决:
在CentOS下,可以安装这些依赖包:readline-devel,sqlite-devel,bzip2-devel.i686,openssl-devel.i686,gdbm-devel.i686,libdbi-devel.i686ÿ