If python was installed via scoop, ggshield should be installed via pipx install ggshield --system-site-packages
#894
Labels
pipx install ggshield --system-site-packages
#894
It would be great if this pitfall was noted in ggshield's installation instructions.
Environment
Describe the bug
The scoop
python
package does not have./Scripts/pip
and instead bootstraps pip to site-packages.The scoop
pipx
package does not automatically add--system-site-packages
if pip is not in Python's Scripts directory. Subsequentpipx install
runs will fail if pip is expected and--system-site-packages
is not added.Steps to reproduce:
scoop install python
scoop install pipx
pipx install ggshield
pipx install ggshield --system-site-packages
Perhaps an issue should be raised over at https://github.com/pypa/pipx/issues (if one does not already exist) to address this programmatically.
The text was updated successfully, but these errors were encountered: