LoginSignup
12
7

More than 5 years have passed since last update.

Homebrewでbyobu (2016/04/20時点)

Posted at

Macでもbyobuが使いたい。
しかし、

$ brew install byobu
$ byobu-config
ERROR: Could not import the python snack module

OSXにHomebrewでtmuxとEmacs 24.4をインストールする - Qiita
こちらの記事にもある通り、byobu-configが起動しない問題があった。
これが解決した。他に記事が見当たらなかったのでメモしておく。

OSはEI Capitan 10.11.4

$ brew info newt
...
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
  mkdir -p /Users/<user>/Library/Python/2.7/lib/python/site-packages
  echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/<user>/Library/Python/2.7/lib/python/site-packages/homebrew.pth

newtのメッセージを元に、Pythonのsys.pathを通すだけ。

12
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
7