How to install Python newt or snack in Mac OS X for byobu

I've installed byobu in Mac OS X 10.6.5. It will start, (i.e. it will start a screen session) but in order to run byobu-config and probably in order to do some other things I need a module called snack which apparently is part of python newt.

pip search newt and pip search snack return no results. newt and snack aren't in MacPorts or Brew either.

I haven't found anything online in my searching with respect to installing newt on Mac OS X.

Has anyone else been able to install byobu and newt in Mac OS X?


Try,

sudo port install libnewt

After that, you may need to add /opt/local/lib/python2.6/site-packages to PYTHONPATH as follows,

export PYTHONPATH=/opt/local/lib/python2.6/site-packages/

or

setenv PYTHONPATH /opt/local/lib/python2.6/site-packages/