Estoy tratando de migrar de linux a osx, pero aparentemente byobu no funciona out-of-the-box en mi máquina. Las teclas Fn funcionan parcialmente. Puedo ver el mensaje de error "no hay ventanas anteriores" y "no hay ventanas siguientes" cuando presiono F3 y F4, pero presionando F2 no logra crear una nueva ventana en la terminal de byobu.
No encuentro el atajo correcto para dividir el terminal. Estoy tratando de reconfigurar byobu para especificar mi secuencia de escape. Desafortunadamente, no puedo deshacerme del siguiente error:
(base) ~ byobu-config
ERROR: Could not import the python snack module
A mí me parece que el módulo snack es antiguo, ya que los errores que veo están relacionados con que las funciones de impresión no tienen paréntesis (que se hicieron obligatorios en python3).
(base) ~ which python3
/opt/homebrew/bin/python3
(base) ~ python3 -m pip install snack
Collecting snack
Using cached snack-0.0.3.tar.gz (155 kB)
ERROR: Command errored out with exit status 1:
command: /opt/homebrew/opt/python@3.9/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cd/x29qw_lj0yzf26xq_q6rzr3r0000gn/T/pip-install-zbzkbped/snack_ced1684ef4a040afb794149428c97ce1/setup.py'"'"'; __file__='"'"'/private/var/folders/cd/x29qw_lj0yzf26xq_q6rzr3r0000gn/T/pip-install-zbzkbped/snack_ced1684ef4a040afb794149428c97ce1/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/cd/x29qw_lj0yzf26xq_q6rzr3r0000gn/T/pip-pip-egg-info-tr9ck31d
cwd: /private/var/folders/cd/x29qw_lj0yzf26xq_q6rzr3r0000gn/T/pip-install-zbzkbped/snack_ced1684ef4a040afb794149428c97ce1/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/cd/x29qw_lj0yzf26xq_q6rzr3r0000gn/T/pip-install-zbzkbped/snack_ced1684ef4a040afb794149428c97ce1/setup.py", line 47
print GCC_VERSION
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(GCC_VERSION)?
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/15/52/7889541bad6bd053c6554e3158c91cf0d4092b251b34de5fa35e20040968/snack-0.0.3.tar.gz#sha256=98996b14811a9ce5efad938c32823bff998de104901982d98f214c73f9407096 (from https://pypi.org/simple/snack/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading snack-0.0.2.tar.gz (150 kB)
|| 150 kB 2.7 MB/s
ERROR: Command errored out with exit status 1:
command: /opt/homebrew/opt/python@3.9/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cd/x29qw_lj0yzf26xq_q6rzr3r0000gn/T/pip-install-zbzkbped/snack_d44d334a48134648b9e5d033c66d1a24/setup.py'"'"'; __file__='"'"'/private/var/folders/cd/x29qw_lj0yzf26xq_q6rzr3r0000gn/T/pip-install-zbzkbped/snack_d44d334a48134648b9e5d033c66d1a24/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/cd/x29qw_lj0yzf26xq_q6rzr3r0000gn/T/pip-pip-egg-info-z881b130
cwd: /private/var/folders/cd/x29qw_lj0yzf26xq_q6rzr3r0000gn/T/pip-install-zbzkbped/snack_d44d334a48134648b9e5d033c66d1a24/
Complete output (6 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/cd/x29qw_lj0yzf26xq_q6rzr3r0000gn/T/pip-install-zbzkbped/snack_d44d334a48134648b9e5d033c66d1a24/setup.py", line 42
print "On OSX, ensure you have the following dependencies:"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("On OSX, ensure you have the following dependencies:")?
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/ae/77/2c3f5f7521730c6b4e7e1d6478d68c200c78966bc463ec68c18bce8f22ab/snack-0.0.2.tar.gz#sha256=ee436458e575a305446877e42decd13e93298d6dfc20f3fbb7674fdaa5e6cf9b (from https://pypi.org/simple/snack/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement snack (from versions: 0.0.2, 0.0.3)
ERROR: No matching distribution found for snack
¿Tienes alguna idea de cómo hacer que byobu funcione en osx?
Gracias.