79578244

Date: 2025-04-16 23:12:19
Score: 2
Natty:
Report link

It seems you are trying to use xlwings as a dependency. ~/.local/bin is intended for executables and after pipx install xlwings the binary is located there. pipx only supports apps to be called, not modules to be imported.

I would suggest to keep running the script within a virtual environment and to ensure that the module is properly installed via pip.

Related question: What is the difference between pipx and using pip install inside a virtual environment?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Kinuax