python-crfsuite icon indicating copy to clipboard operation
python-crfsuite copied to clipboard

Install Fails on M1 Mac

Open seandenigris opened this issue 3 years ago • 1 comments

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.

seandenigris avatar Jun 23 '22 19:06 seandenigris

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.

nmalaguti avatar Jul 22 '22 20:07 nmalaguti

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

krkd avatar Oct 04 '22 09:10 krkd

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?

whwright avatar Nov 22 '22 19:11 whwright

should work now

fgregg avatar Dec 16 '23 18:12 fgregg