首页 > 数据库技术 > 详细

linux python2.7 sqlite3安装

时间:2014-04-03 23:24:51      阅读:819      评论:0      收藏:0      [点我收藏+]
First download, build and install sqlite3 with a --prefix. Then build python with same prefix , it will find sqlite installation and will build _sqlite3 module.
$ mkdir
-p ~/applications/src $ cd ~/applications/src $ wget http://www.sqlite.org/sqlite-autoconf-3070900.tar.gz $ tar xvvf sqlite-autoconf-3070900.tar.gz $ cd sqlite-autoconf-3070900 $ ./configure --prefix=~/applications $ make $ make install $ cd ~/applications/src $ wget http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tgz $ tar xvvf Python-2.5.2.tgz $ cd Python-2.5.2 $ ./configure --prefix=~/applications $ make $ make install $ ~/applications/bin/python >>>import sqlite3 >>># no error!

linux python2.7 sqlite3安装,布布扣,bubuko.com

linux python2.7 sqlite3安装

原文:http://www.cnblogs.com/taotaowill/p/3643617.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!