1. 安装 brew (http://brew.sh/)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2. 安装memcache (https://cnbin.github.io/blog/2015/06/30/install-memcached-on-mac-os-x/)
brew install memcached
3. 运行
memcached -d
4. 安装client
pip install python-memcached