Having "/opt/local/bin" in PATH environment variable before anything else
will accomplish #1.

#2 makes me think we don't have everything resolved for you yet.

If you invoke /usr/local/bin/python -V, I'm going to guess you're getting
Python 2.3 - which is not what you want when you run setup.py to install
Django.

At worst case, you'd want to run /opt/local/bin/python setup.py install to
do it.

The reason being that python includes some built-in library paths that are
specific to the installation of python. WIth my instructions, you should
generally end up with 2 copies of python on your machine - the one from
Apple, and the newer 2.4 version. You want to make sure and install Django
into the newer 2.4 libraries - as it's the version that has the built in
Sqlite support.

-joe

On 2/23/07, Benjamin Chait <[EMAIL PROTECTED]> wrote:
>
>
> That did it, it's working great!
>
> Two final questions:
>
> 1. How do I create a symbolic link so that typing "python" into the
> Terminal will pull "/usr/local/bin/python"?
>
> 2. I was forced to do a /usr/local/bin/python setup.py install of
> Django rather than install via SVN--should I bother setting up the SVN
> if I'm just learning it?
>
> Thanks once more!
>
> On Feb 23, 4:05 pm, "Joseph Heck" <[EMAIL PROTECTED]> wrote:
> > The django that's currently installed is installed with the python 2.3,
> so
> > you'll need to redo that installation process (download, run sudo
> > python.setup install) again. After that, as long as the /opt... set is
> > earlier on the path, you won't have any trouble.
> >
> > Do check to make sure that "/opt/local/bin" comes before "/usr/local" or
> any
> > of the others when you look at the output of "echo $PATH".
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to