LoginSignup
0
1

More than 5 years have passed since last update.

pyenv環境でbyobuがクラッシュ

Posted at

完全に自分のミスですがメモ。

$ byobu --version
byobu version 5.16
tmux 1.6
$ byobu
  File "/usr/bin/byobu-select-session", line 43
    if output[0] >= 0:
                     ^
TabError: inconsistent use of tabs and spaces in indentation

おや、byobu安定してると思ったのにと早合点したんですが、Python使いなんだから自分は気づけよ自明に直せるエラーだぞ、と。

ただ、直接ファイルをいじるのはおかしいと思われますゆえ、ググると以下のとおり。

With python3 as default python interpreter, on start of byobu byobu-select-session throws an exception due to python3's new tab/space inconsistency intolerance:

おや、Debian wheezyのデフォルトPythonが3系のはずないぞ?

$ python --version
Python 3.4.0
$ head -n 1 /usr/bin/byobu-select-session
#!/usr/bin/env python
$ pyenv versions
pyenv versions
  system
  2.7.6
* 3.4.0 (set by /home/dmiyakawa/.python-version)

失礼しました orz

0
1
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
0
1