On 5/14/08, Jason Ourscene ([EMAIL PROTECTED]) wrote:

>Ok now that the shock has passed a bit, anyone know how to do this
>without reinstalling the OS.

Have you looked at the Apple-supplied XCode developer packages? If there isn't 
a Python package there, then I guess you'll have to look into the main 
installer. The last time I looked, there were several 'packages' though they 
were not easily found (to make things "simple", a lot of things get hidden).

If the installer uses a bundle, you should be able to explore it and possibly 
extract the python sub-packages. Control-clicking will give the option for 
'show package contents'.

I don't have any Leopard disks handy otherwise I would offer clearer details. 
Sorry.

Scott

>On May 14, 11:47 am, Jason Ourscene <[EMAIL PROTECTED]> wrote:
>> Looks like i deleted everything associated with python.
>>
>> On May 14, 10:55 am, Jason Ourscene <[EMAIL PROTECTED]> wrote:
>>
>> > I ran the command /usr/bin/python
>> > and i get: No Such File or Directory.
>>
>> > This cant be good.
>>
>> > On May 14, 10:30 am, gordyt <[EMAIL PROTECTED]> wrote:
>>
>> > > Jason try this command and see if it works:
>>
>> > > /usr/bin/python
>>
>> > > If that takes you into the Python interpreter then you know that
>> > > Apple's python is still OK.
>>
>> > > So your only problem is that you have the directory /opt/local/bin in
>> > > your $PATH   ahead of the other directories that are normally in your
>> > > path.
>>
>> > > The macports system automatically adds /opt/local/bin to your $PATH.
>> > > Take a look here:
>>
>> > >http://guide.macports.org/#installing.shell
>>
>> > > In my case, I have these lines in my .bash_login file (located in my
>> > > home directory):
>>
>> > > export PATH=/opt/local/bin:/opt/local/sbin:$PATH
>> > > export MANPATH=/opt/local/share/man:$MANPATH
>>
>> > > These lines may be in any of the following files in your $HOME
>> > > directory:
>>
>> > > .bash_login
>> > > .bash_profile
>> > > .profile
>>
>> > > Just edit them out, log out and back in, and your old $PATH should be
>> > > restored to normal.
>>
>> > > --gordon
>>
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to