but when I do the following to check the version of my sqlite:

>>> import sqlite
>>> sqlite.version
'1.0.1'

the terminal returns me:
>>> import sqlite
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named sqlite

I dont know what is going on, could you please help?

Thanks

On Thu, Jan 13, 2011 at 9:25 AM, Daniel Roseman <dan...@roseman.org.uk>wrote:

> On Thursday, January 13, 2011 4:30:44 PM UTC, Chen Xu wrote:
>>
>> Hi: Django users:
>> This is my first time to install Django on my unix system, and trying to
>> get my Sqlite running.
>> After I downloaded pysqlite-2.6.0,  and run this command:
>>
>> python setup.py build_static install
>>
>> It gives me:
>>
>> running build_static
>> running build_py
>> running build_ext
>> running install
>> running build
>> running install_lib
>> running install_data
>> creating
>> /System/Library/Frameworks/Python.framework/Versions/2.6/pysqlite2-doc
>> error: could not create
>> '/System/Library/Frameworks/Python.framework/Versions/2.6/pysqlite2-doc':
>> Permission denied
>>
>> How should I solve this problem?
>>
>> Thanks everyone
>>
>> You don't need to install py-sqlite, it comes included in Python versions
> 2.5 upwards.
> --
> DR.
>
> --
> 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
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to