Open tkna91 opened 1 year ago
Hi,
Installing the plugin using this method is not currently supported - you need to install the plugin using pip, then link (or copy) the plugin.py
script to your ranger plugin folder.
The installation instructions in the readme explain how to do this: https://github.com/joouha/ranger_tmux/tree/master#install
I hope that helps!
Sorry for the late reply. Perhaps the key is how to manage pip packages in arch linux. I guess I need to understand this part, but it's too difficult for me and I don't quite understand it yet. https://wiki.archlinux.org/title/Python#Package_management
I think I probably could have. Maybe now I can get it to work in the Arch Linux environment. Thanks kindly. You can close it as you like.
$ pacman -Q ranger ranger-git
error: package 'ranger' was not found
error: package 'ranger-git' was not found
$
$ pipx install ranger-tmux --include-deps
$ python -m ranger_tmux --tmux install
$ tmux new-session ranger
Nothing is added to ~/.local/bin
when installing with pipx, though using pyenv works.
Yes, it seems relatively reliable to do it this way.
$ pacman -Q python-pipx python-pip ranger ranger-git
python-pipx 1.5.0-2
python-pip 24.0-2
error: package 'ranger' was not found
error: package 'ranger-git' was not found
$ pipx install ranger-tmux --include-deps
$ $HOME/.local/pipx/venvs/ranger-tmux/bin/python -m ranger_tmux --tmux install
$ tmux new-session ranger
@joouha could you please update README to reflect that simply dropping a clone of the repository in the plugins directory would not just simply do ?
I set up the following and it failed.
I may be making some basic mistake, sorry. What should I do to get it to work?
enviroment: