Show Warning:ipython history requires SQLite after running IPython, your history won't be saved

Source: Internet
Author: User
Tags sqlite



The python2.6 is upgraded to python2.7 under CentOS6.5, and Ipython is installed, and the following information is displayed when the Ipython is started:



WARNING: IPython requires SQLite, your history won't be saved



Here's how to fix it:

download and unzip the SQLite package, enter the command:

#wget http: / /www .sqlite .org /sqlite -autoconf -3071401 .tar .gz

#tar zxvf sqlite-autoconf-3071401.tar.gz

Configure, compile, install, and enter commands in the sqlite-autoconf-3071401 directory:

#./configure--prefix=/usr/local/

#make

#make Install

To recompile the installation python2.7, enter the command:

#cd Python-2.7.3

#./configure

#make All

#make Install

#make Clean

#make Distclean

Restart Ipython View information

#ipython




# # #After completing the above steps, you can solve the above problems # #



Resources:



1, http://blog.chinaunix.net/uid-22476414-id-3401048.html



2, http://www.hztarena.net/qianrushipeixun/2012/1214/2501.html





Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.