[GRASS-dev] PYTHONPATH question

William Kyngesburye woklist at kyngchaos.com
Tue Jul 29 13:34:31 EDT 2008


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.

>> #!/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