Gentoo 上的 Python 没有 sqlite 支持

Sqlite 从 Python 2.5 以后就是标准模块了,但 Gentoo 上的 Python 竟然没有这个模块,开始以为需要一个额外的包,但安装 pysqlite 以后问题依旧(过后才想起来是没进入标准前的一个模块),于是使用 USE 标签重新编译 Python:

USE="sqlite" emerge python

问题解决

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>