Skip to content

Instantly share code, notes, and snippets.

@Aviksaikat
Created April 15, 2023 10:39
Show Gist options
  • Save Aviksaikat/d38ff126141f9f1e58329200b01e9015 to your computer and use it in GitHub Desktop.
Save Aviksaikat/d38ff126141f9f1e58329200b01e9015 to your computer and use it in GitHub Desktop.
fix Pipx errors
#!/bin/bash
if [ $# -ne 1 ]; then
echo "Error: Please provide exactly one argument."
echo "Usage: {0} <package name>"
exit 1
fi
rm -rf ~/.local/pipx/
# pip3 uninstall pipx
pipx install $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment