[GRASS-dev] PYTHONPATH question

Michael Barton michael.barton at asu.edu
Tue Jul 29 13:42:50 EDT 2008



On Jul 29, 2008, at 10:34 AM, William Kyngesburye wrote:

> On Jul 29, 2008, at 12:15 PM, Michael Barton wrote:
>
>> cmb-MBP-2:~ cmbarton$ ls -l /usr/bin/python
>> lrwxr-xr-x  1 root  wheel  72 May  9 15:32 /usr/bin/python -> ../../ 
>> System/Library/Frameworks/Python.framework/Versions/2.5/bin/python
>> cmb-MBP-2:~ cmbarton$ ls -l /usr/local/bin/python
>> lrwxr-xr-x  1 root  wheel  68 May  9 23:07 /usr/local/bin/python - 
>> > ../../../Library/Frameworks/Python.framework/Versions/2.5/bin/ 
>> python
>> cmb-MBP-2:~ cmbarton$
>
>
> They're each pointing to the right python.

Looking more closely, one is in...

/Library/Frameworks/Python.framework/Versions/2.5/bin/python

and the other is in...

/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python

Is one of these a System Python, or has MacPython shifted where it  
installs?

Michael


>
>
>>> #!/usr/bin/env python
>>>
>>
>> No. The ???? was just me questioning if I should use that format.
>
> So, it should work, and run Mac Python.  Or did you not have that  
> there before, and *now* it's working?
>
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "Mon Dieu! but they are all alike.  Cheating, murdering, lying,  
> fighting, and all for things that the beasts of the jungle would not  
> deign to possess - money to purchase the effeminate pleasures of  
> weaklings.  And yet withal bound down by silly customs that make  
> them slaves to their unhappy lot while firm in the belief that they  
> be the lords of creation enjoying the only real pleasures of  
> existence....
>
> - the wisdom of Tarzan
>
>



More information about the grass-dev mailing list