pipx icon indicating copy to clipboard operation
pipx copied to clipboard

How to make pipx add a symlink to a binary in an environment?

Open silverhikari opened this issue 3 months ago • 2 comments

i am using pipx to install a program called mokuro, which is a tool to ocr manga using manga_ocr as a dependency though this bring in a large model. i also plan to use manga_ocr by itself to use with images but don't want to install it in a separate pipx environment as it would have to include the large model which would take up more space. manga_ocr creates a binary in the /bin folder along with mokuro though pipx only creates the symlink to the mokuro binary in /bin.

is there a way to alter the pipx environment using a command or something similar so it would create a symlink for the manga_ocr binary in the /bin folder of the mokuro environment?

silverhikari avatar Sep 17 '25 14:09 silverhikari

You can use pipx install mokuro --include-deps.

dukecat0 avatar Sep 18 '25 06:09 dukecat0

You can use pipx install mokuro --include-deps.

is there anyway to be more specific as along with manga_ocr it adds a lot more binaries that are unneeded like torchrun, huggingface-cli,isympy and transformers-cli

silverhikari avatar Sep 18 '25 18:09 silverhikari