tmux-window-name: libtmux not found on Mac even though installed

Hi,

I have setup tmux-window-name using the tpm but when I source .tmux.conf, I see an error at the bottom of the window saying:

ERROR: tmux-window-name - Python dependency libtmux not found (Check the README)

I am running tmux on iTerm2 and on a Mac. Any idea what the issue might be?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

Thanks! Have fun with the tool 😃

I added note in the README to use the user plugin instead of virtualenv

I strongly suggest to installed libtmux in the user python, I designed the plugin to use the user python env.

You can manually run ~/.tmux/plugins/tmux-window-name/scripts/rename_session_windows.py' from your terminal to see the traceback.

zsh isn’t a problem.

It seems that your tpm runs the bash/python with different user/python version.

Please add:

echo $USER
which python3
python3 -V
python3 -m site
python3 -m site --user-site