Re: Setting system path for django

2011-03-25 Thread Tim Johnson
* Graham Dumpleton [110325 16:43]: > > > On Saturday, March 26, 2011 8:56:53 AM UTC+11, tim042849 wrote: > > > > I've set up python 2.7 on slax. > > I've also set up django 1.1 on slax. Slax does things a little > > differently, so it appears. django is installed at > > /usr/lib/python2.5/site-p

Re: Setting system path for django

2011-03-25 Thread Tim Johnson
* Mike Ramirez [110325 17:13]: > On Friday, March 25, 2011 05:46:54 pm Tim Johnson wrote: > > > > > > It really sounds like when you install python, you're using `python > > > setup.py` > > > That's my bad. that should read "install django". The only reason python > should install to django /u

Re: Setting system path for django

2011-03-25 Thread Mike Ramirez
On Friday, March 25, 2011 05:46:54 pm Tim Johnson wrote: > > > > It really sounds like when you install python, you're using `python > > setup.py` > That's my bad. that should read "install django". The only reason python should install to django /usr/lib/python2.5/site-packages is if you're us

Re: Setting system path for django

2011-03-25 Thread Tim Johnson
* Mike Ramirez [110325 15:42]: > On Friday, March 25, 2011 02:56:53 pm Tim Johnson wrote: > > I've set up python 2.7 on slax. > > I've also set up django 1.1 on slax. Slax does things a little > > differently, so it appears. django is installed at > > /usr/lib/python2.5/site-packages/django > > >

Re: Setting system path for django

2011-03-25 Thread Graham Dumpleton
On Saturday, March 26, 2011 8:56:53 AM UTC+11, tim042849 wrote: > > I've set up python 2.7 on slax. > I've also set up django 1.1 on slax. Slax does things a little > differently, so it appears. django is installed at > /usr/lib/python2.5/site-packages/django > > python 2.7 does not know where to

Re: Setting system path for django

2011-03-25 Thread Shawn Milochik
Super-short tutorial: Download virtualenv tarball. http://pypi.python.org/pypi/virtualenv#downloads Install virtualenv using Python2.7 explicitly: extract the tarball and run /path/to/python2.7 setup.py install Then do this: virtualenv --no-site-packages somedir source somedir/bin/activate N

Re: Setting system path for django

2011-03-25 Thread Mike Ramirez
On Friday, March 25, 2011 02:56:53 pm Tim Johnson wrote: > I've set up python 2.7 on slax. > I've also set up django 1.1 on slax. Slax does things a little > differently, so it appears. django is installed at > /usr/lib/python2.5/site-packages/django > > python 2.7 does not know where to find djan

Re: Setting system path for django

2011-03-25 Thread Tim Johnson
* Tim Johnson [110325 14:39]: > * Shawn Milochik [110325 14:30]: > > Use virtualenv and save yourself a lot of trouble. > Setting system paths is not a lot of trouble for me. It is just > that I have not had to use .pth files for years, on my workstation > I address sys.path directly > > http:

Re: Setting system path for django

2011-03-25 Thread Shawn Milochik
On Fri, Mar 25, 2011 at 6:37 PM, Tim Johnson wrote: >  Shawn, I am reluctant to use your advice on this netbook with the >  'pocket' slax OS. Certainly I would consider it on my workstation. There's no reason for this reluctance. Virtualenv is not an emulator or anything like that. It just gives

Re: Setting system path for django

2011-03-25 Thread Tim Johnson
* Shawn Milochik [110325 14:30]: > Use virtualenv and save yourself a lot of trouble. Setting system paths is not a lot of trouble for me. It is just that I have not had to use .pth files for years, on my workstation I address sys.path directly > http://pypi.python.org/pypi/virtualenv > > Also

Re: Setting system path for django

2011-03-25 Thread Shawn Milochik
Use virtualenv and save yourself a lot of trouble. http://pypi.python.org/pypi/virtualenv Also, if you're starting a new project I highly recommend you use Django 1.3. Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this grou

Setting system path for django

2011-03-25 Thread Tim Johnson
I've set up python 2.7 on slax. I've also set up django 1.1 on slax. Slax does things a little differently, so it appears. django is installed at /usr/lib/python2.5/site-packages/django python 2.7 does not know where to find django, because the path to django is not being added to sys.path. I've