pypa / pipx

Install and Run Python Applications in Isolated Environments
https://pipx.pypa.io
MIT License
10.64k stars 418 forks source link

No module named 'pipx' #1574

Closed HarimbolaSantatra closed 2 weeks ago

HarimbolaSantatra commented 2 weeks ago

Describe the bug Any pipx commands yield the same result:

Traceback (most recent call last):
  File "/usr/bin/pipx", line 5, in <module>
    from pipx.main import cli
ModuleNotFoundError: No module named 'pipx'

How to reproduce Environment:

Install pipx:

sudo apt update
sudo apt install pipx
pipx ensurepath

pipx reinstall-all yield the same result as the above output.

HarimbolaSantatra commented 2 weeks ago

Sorry for the inconvenience! apt install is only recommended for Ubuntu 23 and above. I reinstalled using python3 -m pip install --user pipx and it worked fine! My bad!