DragonSlayre wrote:
>
>
> On Jan 25, 6:04 pm, Steve Holden wrote:
>> When you install something by running
>>
>> python setup.py install
>>
>> it gets installed into the python that is used to run setup.py. It looks
>> like you had /usr/local/bin on your path when you installed django, but
>>
On Jan 25, 6:04 pm, Steve Holden wrote:
>
> When you install something by running
>
> python setup.py install
>
> it gets installed into the python that is used to run setup.py. It looks
> like you had /usr/local/bin on your path when you installed django, but
> not when you installed PIL and
DragonSlayre wrote:
> Just doing some exploring - noticing that:
>
> * /usr/lib/python2.5/site-packages has a pysqlite2 folder as well as a
> PIL folder
> * /usr/local/lib/python2.6/site-packages has just django in it
>
> I'm not sure how the whole site-packages things work, or why python
> 2.5
Just doing some exploring - noticing that:
* /usr/lib/python2.5/site-packages has a pysqlite2 folder as well as a
PIL folder
* /usr/local/lib/python2.6/site-packages has just django in it
I'm not sure how the whole site-packages things work, or why python
2.5 is in /usr/lib/ and python 2.6 is in
Importing sqlite3 fails as well (if I type this into a python
shell)
import sqlite3
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.6/sqlite3/__init__.py", line 24, in
from dbapi2 import *
File "/usr/local/lib/python2.6/sqlite3/dbapi2.py", line
This is my path currently:
['', '/usr/local/lib/python26.zip', '/usr/local/lib/python2.6', '/usr/
local/lib/python2.6/plat-linux2', '/usr/local/lib/python2.6/lib-tk', '/
usr/local/lib/python2.6/lib-old', '/usr/local/lib/python2.6/lib-
dynload', '/usr/local/lib/python2.6/site-packages']
On Jan 2
I've just done a fresh install of python 2.6 and django 1.0.2, and
sqlite3 in ubuntu, and I've cloned my repository, and tried python
manage.py runserver, but then I get this error:
File "/usr/local/lib/python2.6/site-packages/django/db/backends/
sqlite3/base.py", line 27, in
raise Improperl
7 matches
Mail list logo