installing sqlite3 for python3.4.1

时间:2015-06-22 10:42:54

标签: python python-3.x sqlite

when I run ipython I get WARNING: IPython History requires SQLite, your history will not be saved. I have compled python3.4.1 from source. Can anybody tell me how to install sqlite3. I have read somewhere that it should be included in the standard version of python after version 2.5, but apparently it is not. I think there is something I am not understanding.

I am on Linux, distro Fedora 3.19.3

1 个答案:

答案 0 :(得分:1)

您需要安装SQLite开发标头。没有这些,Python安装过程无法编译video path :- file:///Users/itshastra/Library/Developer/CoreSimulator/Devices/87C93694-66E8-4884-B087-10E1E4CBA4D1/data/Containers/Bundle/Application/DB6C89D4-EE6D-4830-B208-B4AA89FD8E59/Complaint.app/video.mp4 扩展名。

在Fedora上,这些标题打包为sqlite3

你可能也希望编译其他C扩展;从源代码编译Python时需要以下包:

sqlite-devel

安装完成后,重新编译Python(zlib-devel bzip2-devel readline-devel sqlite-devel openssl-devel ncurses-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel expat-devel )。