Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install gitstats on macOS #102

Open
leonardoraele opened this issue Dec 2, 2021 · 3 comments
Open

Unable to install gitstats on macOS #102

leonardoraele opened this issue Dec 2, 2021 · 3 comments

Comments

@leonardoraele
Copy link

Folloing instructions from http://gitstats.sourceforge.net/, I tried to install gitstats with command

brew install --HEAD homebrew/head-only/gitstats

But got this error:

Error: homebrew/head-only was deprecated. This tap is now empty and all its contents were either deleted or migrated.
Related issue: https://github.com//issues/55
@znerd
Copy link

znerd commented Apr 9, 2022

Indeed, Homebrew won't help you here, since Python 2 is deprecated, see:

On a recent version of macOS, you will need to:

@rich1e
Copy link

rich1e commented Jan 5, 2024

The installation provided by brew is outdated, so it is recommended to install it locally and then install the relevant dependencies.

  1. git clone git@github.com:hoxu/gitstats.git
  2. brew install gnuplot
  3. Install Python (>= 2.6.0)

After the above is completed, execute:

$ ./gitstats /mnt/src/git/project ~/public_html/project
(go grab a cup of coffee if it's a large project :)
$ sensible-browser ~/public_html/project/index.html

Have a good time ~

@lsk569937453
Copy link

If you are still interested, you may try my new repo: https://github.com/lsk569937453/git-statistic

There is a readme file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants