Ipython出现Warning的解决方案

1. 安装androguard的过程中,需要安装 Ipython,参照链接:http://blog.csdn.net/u013107656/article/details/51509488


2. 安装完成后,启动 ipython,会出现三个Warning:

WARNING: IPython History requires SQLite, your history will not be saved
WARNING: Readline services not available or not loaded.
WARNING: The auto-indent feature requires the readline library

Ipython出现Warning的解决方案_第1张图片


3. 解决方案

> 下载并解压sqlite包
$wget http://www.sqlite.org/sqlite-autoconf-3071401.tar.gz
$tar zxvf sqlite-autoconf-3071401.tar.gz

> 配置,编译,安装
$cd sqlite-autoconf-3071401         进入目录
$./configure --prefix=/usr/local/      配置
$make                                            编译
$sudo make install                         安装

> 重新编译安装python2.7
$cd Python-2.7.3
$./configure --prefix=/usr/local/python2.7.3
$make
$sudo make install

参照链接:http://blog.csdn.net/u013107656/article/details/51509488


> 重新启动 ipython

Ipython出现Warning的解决方案_第2张图片


4. 参考链接

http://www.bubuko.com/infodetail-303972.html


你可能感兴趣的:(【配置环境】)