# Note: depends on Python2
wget -c http://pyyaml.org/download/pyyaml/PyYAML-3.12.tar.gz
tar -xzf PyYAML-3.12.tar.gz
cd PyYAML-3.12
python setup.py build
python setup.py install # as root