Re: Setting up Django on snow leopard

2010-04-09 Thread Steven Elliott Jr
Its also a good idea to install the Developer Tools ... You should check which version of Python you are using too. I think be default OS X uses 2.6.1 This is what I get when I type "python" into the terminal: Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) On Apr 9, 2010, at 11:38 AM, Lee Hi

Re: Setting up Django on snow leopard

2010-04-09 Thread Steven Elliott Jr
Are you running the install as superuser? I am running leopard too and ran into the same problem but once you run it as: sudo python setup.py install it should work.. Also, dumb question but do you have mysql installed? Its also a good idea to put this: # mysql path PATH=${PATH}:/usr/local/mys

Re: Setting up Django on snow leopard

2010-04-09 Thread Lee Hinde
On Apr 8, 1:50 pm, CG wrote: > I have successfully setup django, although I am not sure how I did > it.  Now I am trying to setup MySQLdb  but keep getting the error >   File "setup.py", line 5, in >     from setuptools import setup, Extension > ImportError: No module named setuptools > > On Ap

Re: Setting up Django on snow leopard

2010-04-08 Thread CG
I have successfully setup django, although I am not sure how I did it. Now I am trying to setup MySQLdb but keep getting the error File "setup.py", line 5, in from setuptools import setup, Extension ImportError: No module named setuptools On Apr 8, 12:45 pm, CG wrote: > Nothing happens

Re: Setting up Django on snow leopard

2010-04-08 Thread CG
Nothing happens, I just get a > On Apr 8, 12:39 pm, Tim Shaffer wrote: > Very strange. What happens if you open a new Terminal window and run > the following? > > python -c "import sys; print sys.path" -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Setting up Django on snow leopard

2010-04-08 Thread Tim Shaffer
Very strange. What happens if you open a new Terminal window and run the following? python -c "import sys; print sys.path" -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To un

Re: Setting up Django on snow leopard

2010-04-08 Thread CG
Hi Tim, Thank you for responding. When I run: import sys for p in sys.path: print p It does not print anything. The path is to the django site packages is /Library/Python/2.6/site- packages/Django-1.1.1-py2.6.egg/django On Apr 8, 12:26 pm, Tim Shaffer wrote: > What is the absolute path to

Re: Setting up Django on snow leopard

2010-04-08 Thread Tim Shaffer
What is the absolute path to the django site-packages folder? What does the following code output when you run it in the python interpreter? import sys for p in sys.path: print p -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

Setting up Django on snow leopard

2010-04-08 Thread CG
Hello, I am trying to setup Django on snow leopard and I am running into some problems. I have succesfully run the install from the command line, and can see the Django folder in my python 2.6 site packages folder. However when I try to import django in the idle tool, I get an error that says Tra