Hi,

On 14.05.2008, at 15:47, Jason Ourscene wrote:

>
> When i run the first command i get:
> 8 lrwxr-xr0x 1 root  wheel  24 May  2 20:03 /usr/bin/python -> /opt/
> local/bin/python2.4
>

looks like your MacPorts install replaced the /usr/bin/python links  
and now that you removed MacPorts the links are pointing to nothing.
If you have Leopard (looks like it from the mail headers) read on at  
your own risk. :)

this is what the /usr/bin/py* files are pointing to on my Leopard  
install.
/usr/bin/pydoc -> ../../System/Library/Frameworks/Python.framework/ 
Versions/2.5/bin/pydoc
/usr/bin/pydoc2.5 -> ../../System/Library/Frameworks/Python.framework/ 
Versions/2.5/bin/pydoc2.5
/usr/bin/python -> ../../System/Library/Frameworks/Python.framework/ 
Versions/2.5/bin/python
/usr/bin/python-config -> ../../System/Library/Frameworks/ 
Python.framework/Versions/2.5/bin/python-config
/usr/bin/python2.5 -> ../../System/Library/Frameworks/Python.framework/ 
Versions/2.5/bin/python2.5
/usr/bin/python2.5-config -> ../../System/Library/Frameworks/ 
Python.framework/Versions/2.5/bin/python2.5-config
/usr/bin/pythonw -> ../../System/Library/Frameworks/Python.framework/ 
Versions/2.5/bin/pythonw
/usr/bin/pythonw2.5 -> ../../System/Library/Frameworks/ 
Python.framework/Versions/2.5/bin/pythonw2.5

so a:
cd /usr/bin
ln -s ../../System/etc/etc/etc/pydoc pydoc
reapeat for each of the files in the above list

could fix your problem.

adi

> and when i type "which python"
> I get nothing.
>
> Any idea where to go from here?
>
> jason
>
> On May 14, 2:42 am, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>> If you removed /usr/bin/python, the simple answer is that your broke
>> it by doing so.
>>
>> MacPorts as far as I know should not have replaced /usr/bin/python  
>> and
>> instead installed its 'python' elsewhere and thus the standard  
>> version
>> should still have existed.
>>
>> What do you get when you run:
>>
>>   ls -las /usr/bin/python
>>
>> What do you get when you run:
>>
>>   which python
>>
>> Graham
>>
>> On May 14, 2:20 pm, Jason Ourscene <[EMAIL PROTECTED]> wrote:
>>
>>> I installed everything through macports initially, but would like to
>>> be on a newer version of python which i found is bundled with  
>>> leopard.
>>> I completely removed all the files and things associated with
>>> macports. Now when i type python in the terminal i get.. ~bash:
>>> python: command not found
>>
>>> I tried to figure out a way to link it all back together but cant  
>>> seem
>>> to get it.
>>
>>> Anyone know of a way to do this?
>>
>>> Thanks!
>>> Jason
> 
--
Adi J. Sieker         mobile: +49 - 178 - 88 5 88 13
Freelance developer   skype:  adijsieker
SAP-Consultant        web:    http://www.sieker.info/profile
                       openbc: https://www.openbc.com/hp/ 
AdiJoerg_Sieker/




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