python安装中编译报错

来源:互联网 发布:android 引导蒙版源码 编辑:程序博客网 时间:2024/06/05 10:31

./configure

make

报错:

Python build finished, but the necessary bits to build these modules were not found:
_tkinter           bsddb185           dl             
imageop            sunaudiodev                       
To find the necessary bits, look in setup.py in detect_modules() for the module's name.


Failed to build these modules:
_sqlite3                                             

running build_scripts

 

原因:缺少某些依赖库

 

解决办法:

我用的tar包,同事说tar包可能会丢东西,下载rpm包或许可以解决,未尝试

make & make install 直接安装成功,缺少的支持用到了再安装好了

0 0
原创粉丝点击