On Jan 31, 2008 2:27 PM, bobhaugen <[EMAIL PROTECTED]> wrote:
>
> Installed the latest Django package from the Synaptic package manager
> on Ubuntu 7.10. I understand the Django version to be 0.96.1 (package
> says 0.96-1ubuntu0.1).
>
> I'm on the first django tutorial:
> http://www.djangoproject.com/documentation/tutorial01/
>
> Got my sqlite database set up.  Now trying to "run the command-line
> client for your database".
>
> I understand the way to do that is $ python manage.py dbshell
>
> I get an error message saying "No such file or directory".
>
> Googling for this situation, I find http://code.djangoproject.com/ticket/6338
> Which says I need to Sqlite3.
>
> But I thought sqlite3 came along with Python 2.5.  No?
>
> Any clues to what am I missing here?  Need to install something else?

What you have installed is the SQLite library and the Python bindings, both
pieces come now included in Python 2.5 (if you were using an older
Python version you would have to install Ubunto packages named libsqlite3
and  python-sqlite3 or similar).

But what dbshell does is to execute tue command line client
for your backend (mysql for MySQL, etc,...) aleady configured
to work with the database of your Django project, and for
SQLite that command line client application is sqlite3
that in Debian/Ubuntu comes in the sqlite3 package:

http://packages.ubuntu.com/cgi-bin/search_packages.pl?searchon=names&version=all&exact=1&keywords=sqlite3

Note the "A command line interface for SQLite 3" part. Install it
using the package management tool of the distribution
and try again.

Regards,

-- 
 Ramiro Morales

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to