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

not compiling #36

Open
trufae opened this issue Sep 19, 2024 · 3 comments
Open

not compiling #36

trufae opened this issue Sep 19, 2024 · 3 comments

Comments

@trufae
Copy link

trufae commented Sep 19, 2024

Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: twint, cchardet, googletransx, sgmllib3k
  Building wheel for twint (pyproject.toml) ... done
  Created wheel for twint: filename=twint-2.1.21-py3-none-any.whl size=40452 sha256=6bf811c7ae93714f7e114c52818a4a86c36489dd342fa13e0742f29cbf4201b5
  Stored in directory: /private/var/folders/vq/658lnd552hg2mwm87fh3n8z40000gn/T/pip-ephem-wheel-cache-11w48grk/wheels/4c/01/60/1372849e10301c346e4cdd11cd79cf37a5186dd0ce115c517a
  Building wheel for cchardet (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for cchardet (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build/lib.macosx-14.0-arm64-cpython-312/cchardet
      copying src/cchardet/version.py -> build/lib.macosx-14.0-arm64-cpython-312/cchardet
      copying src/cchardet/__init__.py -> build/lib.macosx-14.0-arm64-cpython-312/cchardet
      running build_ext
      building 'cchardet._cchardet' extension
      creating build/temp.macosx-14.0-arm64-cpython-312/src/cchardet
      creating build/temp.macosx-14.0-arm64-cpython-312/src/ext/uchardet/src
      creating build/temp.macosx-14.0-arm64-cpython-312/src/ext/uchardet/src/LangModels
      clang++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -Isrc/ext/uchardet/src -I/Users/pancake/prg/tootbot/venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.12/include/python3.12 -c src/cchardet/_cchardet.cpp -o build/temp.macosx-14.0-arm64-cpython-312/src/cchardet/_cchardet.o
      src/cchardet/_cchardet.cpp:196: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]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cchardet
  Building wheel for googletransx (pyproject.toml) ... done
  Created wheel for googletransx: filename=googletransx-2.4.2-py3-none-any.whl size=15954 sha256=8c9083036f0ccc91699978b9d8bad77b5309c441ab0c8f4db1b3ca44289aa65f
  Stored in directory: /Users/pancake/Library/Caches/pip/wheels/35/e5/06/02e4de99601ccdd9d02572fef4e0cb43b8ad8d4894d3bb2e7b
  Building wheel for sgmllib3k (pyproject.toml) ... done
  Created wheel for sgmllib3k: filename=sgmllib3k-1.0.0-py3-none-any.whl size=6047 sha256=0fd87c7299bce22e80331d18f5a8acf03c900e73bf07224cfb2eb44b05f15311
  Stored in directory: /Users/pancake/Library/Caches/pip/wheels/03/f5/1a/23761066dac1d0e8e683e5fdb27e12de53209d05a4a37e6246
Successfully built twint googletransx sgmllib3k
Failed to build cchardet
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (cchardet)
(venv) 1$
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

4 participants
@trufae and others