Skip to content

Instantly share code, notes, and snippets.

@shamilnabiyev
Last active May 30, 2024 12:05
Show Gist options
  • Save shamilnabiyev/2a3e562ef4652409a6bee5b522d86152 to your computer and use it in GitHub Desktop.
Save shamilnabiyev/2a3e562ef4652409a6bee5b522d86152 to your computer and use it in GitHub Desktop.
Install pipx on Windows
  1. Run commands in Git Bash
    • env PIP_REQUIRE_VIRTUALENV=0 python -m pip install --user pipx
    • python -m pipx ensurepath --force
  2. Open a new Git Bash terminal
    • pipx --version
  3. If getting an error during the installation of packages using pipx
    • No Python at 'C:\Users\<username>\AppData\Local\Programs\Python\PythonX\python.exe'
    • Then remove the following folder
    • C:\Users\<username>\.local\pipx
  4. If still having the same issue
    • Then remove the following folder as well
    • C:\Users\<username>\AppData\Local\pipx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment