set Mac for python

Update: Now I would recommend just anaconda python

To be cool in a coffee shop I bought a mac and then I become dumb at work.

Gladly I find these tips on setting up a mac for python

http://hackercodex.com/guide/mac-osx-mavericks-10.9-configuration/

http://hackercodex.com/guide/python-development-environment-on-mac-osx/

Advertisements

easy_install does not work after distribute upgrade

I tried to upgrade matplotlib which asked me to upgrade distribute. I upgraded distribute and then easy_install does not work…… It is solved by the following

1. Check your /usr/bin and /usr/local/bin for easy_install installations and remove any old script:

sudo rm /usr/bin/easy_install*

sudo rm /usr/local/bin/easy_install*

2. Download and run distribute:

curl -O http://python-distribute.org/distribute_setup.py

sudo python distribute_setup.py

sudo rm distribute_setup.py

Copy from