When this command is given:

PIPX_HOME=${prefix:-/opt/}/pipx PIPX_BIN_DIR=${prefix:-/usr/local}/bin pipx install --pip-args='--proxy http://127.0.0.1:8118/ --log-file ~/logs/pip-argostranslate.err --log ~/logs/pip-argostranslate.log' /usr/local/src/argos-translate

The output is:

pipx: error: unrecognized arguments: --log-file --log /root/logs/pip3-argostranslate.log /usr/local/src/argos-translate
(env) localhst:/usr/local/src/argos-translate# PIPX_HOME=${prefix:-/opt/}/pipx PIPX_BIN_DIR=${prefix:-/usr/local}/bin pipx install --pip-args='--proxy http://127.0.0.1:8118/ --log-file ~/logs/pip-argostranslate.err --log ~/logs/pip-argostranslate.log' /usr/local/src/argos-translate

Those so-called unrecognized arguments are documented in the pip man page.

The error msg drops an arg from the output as well, so it seems like an internal parsing problem.

I am just a user trying to install an app – not a python dev. It seems bizarre that such a mainstream language would have this basic issue. I wonder if pipx is rarely used… that it’s obscure. Is that the case? Should I be useing pip3 or pip instead?