Are you trying to use the attribute from ohai? That attribute should be `node['languages']['python']['version']`, not `node['python']['version']`.