this post was submitted on 23 Dec 2025
1 points (66.7% liked)

Python

158 readers
4 users here now

All things Python programming related. Let's keep it friendly and on-topic :)

founded 2 years ago
MODERATORS
 

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?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here