Skip to content

Instantly share code, notes, and snippets.

@serrasqueiro
Created June 19, 2024 12:51
Show Gist options
  • Save serrasqueiro/59484fc9705db8c4ebf9ce9672595713 to your computer and use it in GitHub Desktop.
Save serrasqueiro/59484fc9705db8c4ebf9ce9672595713 to your computer and use it in GitHub Desktop.

Installing GitPython

Using openSUSE, and avoiding the following error:

  • error: externally-managed-environment
henri@sena:~> pip3 install --break-system-packages GitPython
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: GitPython in ./.local/lib/python3.11/site-packages (3.1.43)
Requirement already satisfied: gitdb<5,>=4.0.1 in ./.local/lib/python3.11/site-packages (from GitPython) (4.0.11)
Requirement already satisfied: smmap<6,>=3.0.1 in ./.local/lib/python3.11/site-packages (from gitdb<5,>=4.0.1->GitPython) (5.0.1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment