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

Cannot install on M1 Mac #227

Open
alexandernajafi opened this issue Dec 20, 2023 · 4 comments
Open

Cannot install on M1 Mac #227

alexandernajafi opened this issue Dec 20, 2023 · 4 comments

Comments

@alexandernajafi
Copy link

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
Copy link
Contributor

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
Copy link

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
Copy link

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
Copy link

These instructions worked for me: #110 (comment)

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

3 participants