从django应用程序访问sqlite3 shell时出错 [英] Error while accessing sqlite3 shell from django application

查看:1140
本文介绍了从django应用程序访问sqlite3 shell时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行 python manage.py dbshel​​l 命令我得到这个错误:
错误:你似乎没有'sqlite3 '程序安装或您的路径。
该解决方案部分暗示在这个线程。但是如何在ubuntu上解决呢?我使用的python是2.6版本。

When I run python manage.py dbshell command I get this error: Error: You appear not to have the 'sqlite3' program installed or on your path. The solution is partly hinted at in the second post of this thread. But how it can be solved on ubuntu? The python I'm using is version 2.6.

推荐答案

安装sqlite程序应该可以解决问题:

Installing the sqlite program should solve the problem:

sudo apt-get install sqlite3

(或者如果你喜欢使用突触一个GUI界面)

(or use synaptic if you prefer a GUI interface)

这篇关于从django应用程序访问sqlite3 shell时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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