question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

hey, I’m not 100% sure how to use the --pip-args properly. I wanted to upgrade to a pre-release version and I had to run the command in this strange way (that’s single quotes inside of the double quotes):

pipx upgrade clokta --pip-args "'--pre'"

Without the extra quotes, I get:

pipx upgrade: error: argument --pip-args: expected one argument

Is there a better way to do this?

Thanks!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

3reactions
kevinjfoleycommented, Sep 9, 2019

I had the same confusion but the suggestions cleared things up for me, thanks!

Might help to customize the usage parameter here to show the ='s

1reaction
cs01commented, Aug 10, 2019

How about this?

pipx upgrade clokta --pip-args=--pre

If you want to pass more arguments, you can do

pipx upgrade clokta --pip-args='--pre --some-other-pip-arg'
Read more comments on GitHub >

github_iconTop Results From Across the Web

pip_args? · Issue #204 · pypa/pipx - GitHub
hey, I'm not 100% sure how to use the --pip-args properly. I wanted to upgrade to a pre-release version and I had to...
Read more >
Docs - pipx
execute binaries from Python packages in isolated environments.
Read more >
pipx · PyPI
pipx is a tool to install and run any of the thousands of Python applications available on PyPI in a safe, convenient, and...
Read more >
pip install - pip documentation v22.3.1
Description#. Install packages from: PyPI (and other indexes) using requirement specifiers. VCS project urls. Local project directories.
Read more >
Use pip-compile to generate dependency list - OpenDev
pip-compile --output-file=constraints.txt --pip-args='-chttps://releases.openstack.org/constraints/upper/master' molecule-requirements.txt ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found