OS X 10.8.2 Python 3导入sqlite错误 [英] OS X 10.8.2 python 3 import sqlite error

查看:108
本文介绍了OS X 10.8.2 Python 3导入sqlite错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当从python3 shell导入sqlite时,两个brew安装的python3以及带有-–enable-loadable-sqlite-extensions的手动编译的python3均失败.请帮忙!

Both brew installed python3 and manually compiled python3 with -–enable-loadable-sqlite-extensions fails when import sqlite from python3 shell. Please help!

推荐答案

Homebrew为python3提供了sqlite3支持和可加载模块.

Homebrew provides python3 with sqlite3 support and loadable modules.

brew install python3将做正确的事情(也酿造sqlite).

brew install python3 will do the right thing (and brew sqlite, too).

有一个错误,可能会打击您,但已已修复

There was a bug, that probably struck you, but it has been fixed

这篇关于OS X 10.8.2 Python 3导入sqlite错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆