I've tried on Mac OSX
no luck with pip.
But after setting:
export CFLAGS="-I$(brew --prefix openssl)/include $CFLAGS"
export LDFLAGS="-L$(brew --prefix openssl)/lib $LDFLAGS"
and
git clone https://github.com/holgern/beem.git
cd beem
python setup.py build
python setup.py install --user
All works!
Tomorrow will try to use it for my mini project.