Debian Etch is meant to be stable, not up to date (except for security fixes), so it defaults to Python 2.4. You can install 2.5 but most of the python-* packages are not available for 2.5 because they were not deemed stable or didn't build at all. I needed support for Postgres, LDAP, Oracle and found it was easiest to stick with Python 2.4. If you really need 2.5, you're probably better off running a leading-edge distro like Ubuntu or Gentoo.
Good luck... Tom On Sat, May 3, 2008 at 12:42 AM, LRP <[EMAIL PROTECTED]> wrote: > > Hi Folks, > > I've been trying for days now to correctly install python2.5 and > psycop2 on my Debian Etch system so I can work with postgresql8.1, > django, and web2py. > > I've installed python2.5 from the Debian repository and made it the > default choice. When I call python from the CLI I get Python2.5. > > But no matter how I try to install psycop2, I can't get django or > web2py to recognize it. On django it comes up as refusal to connect to > postgresql; on web2py it comes up as an error message saying "global > name psycopg2 is not defined'" > > Psycopg2 seems to want to install against python2.4. I've tried > symlinks from /usr/lib/python2.5/site-packages to /usr/lib/2.4/site- > packages/psycopg2, but that doesn't work; nor have various other > installation methods that I"ve tried. > > Can anyone show me how to correctly install and configure the packages > I need to run SVN django on Debian Etch and postgresql8.1? Must be > many others who've confronted the same issues. > > Many thanks, > > LRP > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---