code_junkie

How do I uninstall python from OSX Leopard so that I can use the MacPorts version?

Nov 11th, 2011
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. $ which python
  2. /usr/bin/python
  3. $ which python2.5
  4. /opt/local/bin/python2.5
  5.  
  6. export PATH=/opt/local/bin:/opt/local/sbin:$PATH
  7.  
  8. sudo port install python25
  9. sudo port install python_select
  10. sudo python_select python25
  11.  
  12. sudo port select python python26
  13.  
  14. export PATH=/opt/local/bin:/opt/local/sbin:$PATH
Add Comment
Please, Sign In to add comment