pipx not listing itself?

Created on 12 Feb 2019  路  2Comments  路  Source: pipxproject/pipx

ubuntu 18.10, fully patched
python 3.6.7
pipx 0.12.0.4


pipx-app used to list itself with pipx list, but with some recent changes that appears to be busted... unless it only ever worked by accident of course!

pipx was installed as suggested, using...

python3 -m pip install --user pipx

pipx list results, with pipx itself dubiously MIA

$ pipx list
venvs are in /home/username/.local/pipx/venvs
symlinks to binaries are in /home/username/.local/bin
   package black 18.9b0, Python 3.6.7
    - black
    - blackd
   package pipenv 2018.11.26, Python 3.6.7
    - pipenv
    - pipenv-resolver

Most helpful comment

The (deprecated) pipx-app installation instruction method installed it to a pipx-compatible location such that it was managed by pipx (and thus pipx list would show it).

New installation instructions for pipx just use pip for installing, upgrading, and uninstalling pipx. So the behavior you are observing is as expected.

If you liked having pipx manage pipx you can still do the follwing

pip install --user pipx  # installs to site-packages
pipx install pipx  # installs to /Users/cssmith/.local/pipx/venvs/pipx and /Users/cssmith/.local/bin/pipx
pip uninstall pipx  # removes from site-packages

It is a little mind-bendy, but it works! 馃槃

All 2 comments

The (deprecated) pipx-app installation instruction method installed it to a pipx-compatible location such that it was managed by pipx (and thus pipx list would show it).

New installation instructions for pipx just use pip for installing, upgrading, and uninstalling pipx. So the behavior you are observing is as expected.

If you liked having pipx manage pipx you can still do the follwing

pip install --user pipx  # installs to site-packages
pipx install pipx  # installs to /Users/cssmith/.local/pipx/venvs/pipx and /Users/cssmith/.local/bin/pipx
pip uninstall pipx  # removes from site-packages

It is a little mind-bendy, but it works! 馃槃

Ahh, good to know!
Thanks for clarifying mate, I'm happy to update it with pip as long as that's the expected way to do it!

Was this page helpful?
0 / 5 - 0 ratings