如何将sqlite3模块添加到Python? [英] How can I add the sqlite3 module to Python?

查看:117
本文介绍了如何将sqlite3模块添加到Python?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我如何在最新版本的Python上安装sqlite3模块吗? 我使用的是Macbook,并在命令行上尝试了:

Can someone tell me how to install the sqlite3 module alongside the most recent version of Python? I am using a Macbook, and on the command line, I tried:

pip install sqlite

但是会弹出错误消息.

推荐答案

您不需要安装

You don't need to install sqlite3 module. It is included in the standard library (since Python 2.5).

这篇关于如何将sqlite3模块添加到Python?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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