Skip to content

use python3 -m when installing pipx - #631

Merged
ncoghlan merged 1 commit into
pypa:masterfrom
cs01:cs01/update-pipx-installation-instructions
Aug 14, 2019
Merged

use python3 -m when installing pipx#631
ncoghlan merged 1 commit into
pypa:masterfrom
cs01:cs01/update-pipx-installation-instructions

Conversation

@cs01

@cs01 cs01 commented Aug 1, 2019

Copy link
Copy Markdown
Member

As noted in #607, pipx may not be on the user's PATH when installed with the --user flag. This PR adds the python3 -m prefix when ensuring the PATH has paths pipx expects. Note that pipx now considers ensurepath best practice again (it's no longer deprecated).

@cs01

cs01 commented Aug 3, 2019

Copy link
Copy Markdown
Member Author

cc @ncoghlan @Ivoz @pfmoore

@pfmoore pfmoore left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Windows, it would be py -3 -m pipx, but I don't think it's worth complicating the docs by getting into those nuances.

@pradyunsg

Copy link
Copy Markdown
Member

/cc @di since I'm pretty sure he's in charge now. :)

@ncoghlan
ncoghlan merged commit ecf061c into pypa:master Aug 14, 2019
@ncoghlan

Copy link
Copy Markdown
Member

Yeah, there's an existing issue for python3 being problematic: #453

@cs01
cs01 deleted the cs01/update-pipx-installation-instructions branch August 14, 2019 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants