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

[Bug]: Failed to build faust-cchardet==2.1.19 #924

Closed
thdoan opened this issue Apr 2, 2025 · 1 comment
Closed

[Bug]: Failed to build faust-cchardet==2.1.19 #924

thdoan opened this issue Apr 2, 2025 · 1 comment
Labels
🐞 Bug Something isn't working 🩺 Needs Triage Needs attention of maintainers

Comments

@thdoan
Copy link

thdoan commented Apr 2, 2025

crawl4ai version

0.5.0

Expected Behavior

I expect to be able to install this using uv pip install -U crawl4ai in WSL2 (python v3.13.1 venv).

Current Behavior

I got an error and wasn't able to complete the installation.

Is this reproducible?

Yes

Inputs Causing the Bug

Steps to Reproduce

Code snippets

OS

Windows (WSL2 Ubuntu)

Python version

3.13.1

Browser

N/A

Browser version

N/A

Error logs & Screenshots (if applicable)

❯ uv pip install -U crawl4ai
Resolved 79 packages in 12.33s
      Built pyperclip==1.9.0
  × Failed to build `faust-cchardet==2.1.19`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `setuptools.build_meta.build_wheel` failed (exit status: 1)

      [stdout]
      running bdist_wheel
      running build
      running build_py
      creating build/lib.linux-x86_64-cpython-313/cchardet
      copying src/cchardet/version.py -> build/lib.linux-x86_64-cpython-313/cchardet
      copying src/cchardet/__init__.py -> build/lib.linux-x86_64-cpython-313/cchardet
      running build_ext
      building 'cchardet._cchardet' extension
      creating build/temp.linux-x86_64-cpython-313/src/cchardet
      creating build/temp.linux-x86_64-cpython-313/src/ext/uchardet/src
      creating build/temp.linux-x86_64-cpython-313/src/ext/uchardet/src/LangModels
      c++ -pthread -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -fPIC -fPIC -Isrc/ext/uchardet/src
      -I/mnt/d/cache/uv/builds-v0/.tmphcuqfg/include -I/home/thdoan/.local/share/uv/python/cpython-3.13.1-linux-x86_64-gnu/include/python3.13 -c
      src/cchardet/_cchardet.cpp -o build/temp.linux-x86_64-cpython-313/src/cchardet/_cchardet.o

      [stderr]
      /mnt/d/cache/uv/builds-v0/.tmphcuqfg/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are
      deprecated.
      !!

              ********************************************************************************
              Please consider removing the following classifiers in favor of a SPDX license expression:

              License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)
              License :: OSI Approved :: GNU General Public License (GPL)
              License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)

              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************

      !!
        self._finalize_license_expression()
      error: command 'c++' failed: No such file or directory

      hint: This usually indicates a problem with the package or the build environment.
  help: `faust-cchardet` (v2.1.19) was included because `crawl4ai` (v0.5.0.post8) depends on `faust-cchardet`
@thdoan thdoan added 🐞 Bug Something isn't working 🩺 Needs Triage Needs attention of maintainers labels Apr 2, 2025
@thdoan
Copy link
Author

thdoan commented Apr 2, 2025

Filed a bug here: faust-streaming/cChardet#34

@thdoan thdoan closed this as completed Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working 🩺 Needs Triage Needs attention of maintainers
Projects
None yet
Development

No branches or pull requests

1 participant