Re: More PYTHONPATH issues

2010-03-24 Thread Riley
Yup that was it Thanks Riley On Mar 24, 7:12 am, Paulo Almeida wrote: > Ok, that makes more sense. You probably can't import django from anywhere > else because the django folder cannot be read. Try going to > /Library/Python/2.6/site-packages and type 'ls -l' to see the permissions. I > presume

Re: More PYTHONPATH issues

2010-03-24 Thread Paulo Almeida
Ok, that makes more sense. You probably can't import django from anywhere else because the django folder cannot be read. Try going to /Library/Python/2.6/site-packages and type 'ls -l' to see the permissions. I presume you don't have e(x)ecute permission in the django folder. These commands might d

Re: More PYTHONPATH issues

2010-03-23 Thread Riley
No when I run the shell in the directory where django lives I can import. I untared django into a sub-directory of the desktop and installed it there because I'm just starting and I feel like when I figure it out I'm going to want to start from scratch. Ya it is really weird, it just silently fai

Re: More PYTHONPATH issues

2010-03-23 Thread Riley
Yes, the django directory is symlinked to Python/2.6/site-packages and django-admin.py is linked to /usr/local/bin On Mar 23, 5:59 pm, irishsteve wrote: > Have you set up the necessary sym links? > > See points 3 & 4 at the bottom of this > page:http://docs.djangoproject.com/en/dev/topics/instal

Re: More PYTHONPATH issues

2010-03-23 Thread Paulo Almeida
Just to clarify: if you run a python shell in /Library/Python/2.6/site-packages you can import django, but if you run anywhere else you can't? It seems weird that you can't cd into django's directory. - Paulo On Tue, Mar 23, 2010 at 9:13 PM, Riley wrote: > Hey all, > > I've done some extensive

Re: More PYTHONPATH issues

2010-03-23 Thread Firat Can Basarir
Have you tried typing "sudo python -V" or restarting your shell session? On Tue, Mar 23, 2010 at 11:59 PM, irishsteve wrote: > Have you set up the necessary sym links? > > See points 3 & 4 at the bottom of this page: > http://docs.djangoproject.com/en/dev/topics/install/ > > On 23 Mar, 21:13, Ri

Re: More PYTHONPATH issues

2010-03-23 Thread irishsteve
Have you set up the necessary sym links? See points 3 & 4 at the bottom of this page: http://docs.djangoproject.com/en/dev/topics/install/ On 23 Mar, 21:13, Riley wrote: > Hey all, > > I've done some extensive searching around this site, but no one's > advice seems to apply/fix the problem :( >

More PYTHONPATH issues

2010-03-23 Thread Riley
Hey all, I've done some extensive searching around this site, but no one's advice seems to apply/fix the problem :( Basically, I have python 2.6 and 2.5 installed on my mac (snow leopard). I installed django from a tarball, using 'sudo python setup.py install'. I'm pretty sure that this uses py