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

fails to build on Apple M due to 'cmath' file not found #34

Open
quarterturn opened this issue Sep 26, 2024 · 0 comments
Open

fails to build on Apple M due to 'cmath' file not found #34

quarterturn opened this issue Sep 26, 2024 · 0 comments

Comments

@quarterturn
Copy link

      clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/derp/miniconda3/envs/xtts2/include -arch arm64 -fPIC -O2 -isystem /Users/derp/miniconda3/envs/xtts2/include -arch arm64 -Icrfsuite/include/ -Icrfsuite/lib/cqdb/include -Iliblbfgs/include -Ipycrfsuite -I/Users/derp/miniconda3/envs/xtts2/include/python3.10 -c crfsuite/swig/crfsuite.cpp -o build/temp.macosx-11.1-arm64-cpython-310/crfsuite/swig/crfsuite.o
      In file included from crfsuite/swig/crfsuite.cpp:1:
      crfsuite/include/crfsuite.hpp:34:10: fatal error: 'cmath' file not found
         34 | #include <cmath>
            |          ^~~~~~~
      1 error generated.
      error: command '/usr/bin/clang++' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for python-crfsuite
  Running setup.py clean for python-crfsuite
Failed to build spacy python-crfsuite
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (spacy, python-crfsuite)

MacOS 14.6.1 (23G93)
M2 CPU
miniconda env using python=3.10

git show
commit db1ade0e6eb2edfcd32499ebcd4b7ecdaf9de309 (HEAD -> main, origin/main, origin/HEAD)
Merge: 13620d9 7f53cc5
Author: Shlomo Kashani <[email protected]>
Date:   Thu Jan 25 18:05:06 2024 +0200

    Merge pull request #18 from Anmol2059/main
    
    Update requirements.txt
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

1 participant