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

Install Fails on M1 Mac #149

Closed
seandenigris opened this issue Jun 23, 2022 · 5 comments
Closed

Install Fails on M1 Mac #149

seandenigris opened this issue Jun 23, 2022 · 5 comments

Comments

@seandenigris
Copy link

I tried to do pipenv install python-crfsuite, but got 12 errors.

Platform details:

  • Python 3.10.2
  • ARM Mac (M1 Max)
  • macOS 12.4
  • Xcode 13.4.1

Here is the output: crf_errors.txt

I'm guessing maybe it's a Mac ARM-specific problem, since AFAICT from other issues, the python3 problems have been solved.

@nmalaguti
Copy link

nmalaguti commented Jul 22, 2022

I've seen a similar problem when only having the CommandLineTools installed.

Install worked correctly for me when using the include path

-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include

instead of

-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include

I'm not sure how to force -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include to appear first in the list of include paths.

@krkd
Copy link

krkd commented Oct 4, 2022

Issue is not connected to python-crfsuite but with local configuration. Check comment it may solve your problem

@whwright
Copy link

I am having the same errors even after reading the thread about xcode select path, and my error output has /Library/Developer/CommandLineTools/*. Any updates on this?

@fgregg
Copy link
Contributor

fgregg commented Dec 16, 2023

should work now

@fgregg fgregg closed this as completed Dec 16, 2023
@bebaek
Copy link

bebaek commented May 17, 2024

I had the same problem with python 3.9 but could install it fine with python 3.10. (I use pyenv for multiple python versions on macos.)

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

6 participants