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 is in /usr/lib/ and python 2.6 is in /usr/local/lib/ ?
Sounds like Python 2.5 came with your Unix/Linux distro, and you have added 2.6 by installing from source - by default it installs with --prefix=/usr/local, I believe. 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 pysqlite2 (or maybe you just hadn't installed Python 2.6 at that stage). Either way, one version of Python won't see packages installed in another. regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---