These demos were written on a OSX 10.10 with virtualenv.
quickly install everything:
git clone https://github.com/jimmec/tensorflow-demo.git
cd tensorflow-demo
virtualenv --no-site-packages tensorflow-demo
source bin/activate
pip install -r requirements.txt