Byobu crashes in pyenv environment

It's completely my mistake, but a memo.

$ 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

Ah, I thought that byobu was stable, but I got the point early, but since I'm using Python, I noticed that it was an error that I could fix.

However, it seems strange to tamper with the file directly, so if you google it, it will be as follows.

https://bugs.launchpad.net/byobu/+bug/1043048

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:

Ah, Debian wheezy's default Python shouldn't be 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)

Excuse me orz

Recommended Posts

Byobu crashes in pyenv environment
Use Anaconda in pyenv environment
pyenv + pyenv-Automatically load the virtualenv environment in the virtualenv environment
[mac] Install R in pyenv + Jupyter-Lab environment
virtualenvwrapper in windows environment
virtual environment in python
pyenv + fish environment construction
Development environment in Python
Collaborate in a remote environment
Handle environment variables in Python
Pip install in proxy environment
HTTP environment variables in Flask
(Note) Django in Vagrant environment
Django cannot be installed in the development environment of pipenv + pyenv
Shell script to build pyenv environment on ubuntu in one shot
Run eclipse in Docker environment (noVNC)
Install scrapy in python anaconda environment
Various Anaconda settings in Windows 10 environment
Timestamp acquisition command in Unix environment
Python environment construction (pyenv, anaconda, tensorflow)
install tensorflow in anaconda + python3.5 environment
Python environment construction (pyenv + poetry + pipx)
Use Python in pyenv with NeoVim
Use django-debug-toolbar in VirtualBox / Vagrant environment
UnicodeDecodeError occurs in pip (Windows environment)
Environment construction with pyenv and pyenv-virtualenv