vifactor / repostat

Inspired by gitstats project: git repository desktop analyzer
GNU General Public License v3.0
106 stars 13 forks source link

Cannot install on M1 Mac #227

Open alexandernajafi opened 10 months ago

alexandernajafi commented 10 months ago

When I install using pip3 install repostat-app

I get an error saying

      pandas/_libs/algos.c:236:12: fatal error: 'longintrepr.h' file not found
        #include "longintrepr.h"
                 ^~~~~~~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]
pulkomandy commented 10 months ago

Hello, This seems to be an error in installing pandas (one of the dependencies for repostat) rather than in repostat itself. According to other bugreports, it seems Pandas will need to be updated to a newer version to support Python 3.11, or maybe you can use Python 3.10 instead.

sjrothfuss commented 7 months ago

I have the same issue on M2 Mac mini, macOS 14.2.1, Python 3.11.3. Upgrading pandas (to 2.2.1) did not help.

sjrothfuss commented 7 months ago

Tried in a Python 3.10 environment and got a different error:

ERROR: Failed cleaning build dir for pandas
Failed to build pandas
ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects
sjrothfuss commented 7 months ago

These instructions worked for me: https://github.com/vifactor/repostat/issues/110#issuecomment-597911506