码迷,mamicode.com
首页 > 编程语言 > 详细

安装Python readline模块

时间:2015-04-30 10:54:39      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:安装python readline模块


安装Python readline模块

下载readline-6.2.4.1.tar.gz (http://down.51cto.com/data/1966660


运行python setup.py install


报错:

gcc: readline/libreadline.a: No such file or directory

gcc: readline/libhistory.a: No such file or directory 


解决:

yum -y install readline-devel

yum -y install patch


安装Python readline模块

标签:安装python readline模块

原文地址:http://987146971.blog.51cto.com/5230841/1640750

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!