git clone git@github.com:Gentopia-AI/Gentopia.git
cd Gentopia
pip install -e .
the error:
Building wheels for collected packages: gentopia, cchardet, chroma, googlesearch-python, pypika, bibtexparser, free-proxy, sgmllib3k
Building editable for gentopia (pyproject.toml) ... done
Created wheel for gentopia: filename=gentopia-0.0.4-0.editable-py3-none-any.whl size=6705 sha256=ebde6ca84f48afef0057da894896f2209137ca967e47a2c8dd74329c52bc359b
Stored in directory: /tmp/pip-ephem-wheel-cache-a0f80nl9/wheels/10/6b/92/8462a169f81f1e6457ae45d93e436c58a5d6a8bc0247818659
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
╰─> [19 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/cchardet
copying src/cchardet/version.py -> build/lib.linux-x86_64-cpython-311/cchardet
copying src/cchardet/__init__.py -> build/lib.linux-x86_64-cpython-311/cchardet
running build_ext
building 'cchardet._cchardet' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/src
creating build/temp.linux-x86_64-cpython-311/src/cchardet
creating build/temp.linux-x86_64-cpython-311/src/ext
creating build/temp.linux-x86_64-cpython-311/src/ext/uchardet
creating build/temp.linux-x86_64-cpython-311/src/ext/uchardet/src
creating build/temp.linux-x86_64-cpython-311/src/ext/uchardet/src/LangModels
gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -Isrc/ext/uchardet/src -I/usr/include/python3.11 -c src/cchardet/_cchardet.cpp -o build/temp.linux-x86_64-cpython-311/src/cchardet/_cchardet.o
error: command 'gcc' failed: No such file or directory
[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 chroma (pyproject.toml) ... done
Created wheel for chroma: filename=Chroma-0.2.0-py3-none-any.whl size=7097 sha256=97940b94a5d3e4b64110e20e63f160eb6c16ba5e097002d618f6f3c57899e246
Stored in directory: /home/vikyw/.cache/pip/wheels/d9/fb/ff/59d3b021a3434588b65b15f1a785b4aebca8f21ea516319194
Building wheel for googlesearch-python (pyproject.toml) ... done
Created wheel for googlesearch-python: filename=googlesearch_python-1.2.3-py3-none-any.whl size=4204 sha256=b50f937c919e15875e4f3ca2a4fee0e8dc7fcd33bd731ce9cac6a2af3d95163d
Stored in directory: /home/vikyw/.cache/pip/wheels/c3/a9/82/de72a96d14538012479281dfda86c35b6da183692b94f45818
Building wheel for pypika (pyproject.toml) ... done
Created wheel for pypika: filename=PyPika-0.48.9-py2.py3-none-any.whl size=53723 sha256=3ca1a5e4f64eccda1bcf0ce465f089c433f6b9cd74f1352edf7db6b7f9e6c2af
Stored in directory: /home/vikyw/.cache/pip/wheels/a3/01/bd/4c40ceb9d5354160cb186dcc153360f4ab7eb23e2b24daf96d
Building wheel for bibtexparser (pyproject.toml) ... done
Created wheel for bibtexparser: filename=bibtexparser-1.4.0-py3-none-any.whl size=42426 sha256=861a9bcdb1e27503418553c8a361e3c0c997f628f9833cfefe05f6f9481ed996
Stored in directory: /home/vikyw/.cache/pip/wheels/83/d6/92/151b2bc2dad15a2a24ede49aa09620d2655bec885795a6a92d
Building wheel for free-proxy (pyproject.toml) ... done
Created wheel for free-proxy: filename=free_proxy-1.1.1-py3-none-any.whl size=5636 sha256=41d27b05f7fef5a46bc505fe08976f84d2a6ffc235a03bac5a7325e35425b59b
Stored in directory: /home/vikyw/.cache/pip/wheels/c6/7f/3f/b764995ae2502d8642977764577198043d3b6c6738534f5ffe
Building wheel for sgmllib3k (pyproject.toml) ... done
Created wheel for sgmllib3k: filename=sgmllib3k-1.0.0-py3-none-any.whl size=6047 sha256=d06b05cd2dd435b7ce928f2d9167b8d050563c1ef535305c0bd8683a1ddfac1f
Stored in directory: /home/vikyw/.cache/pip/wheels/3b/25/2a/105d6a15df6914f4d15047691c6c28f9052cc1173e40285d03
Successfully built gentopia chroma googlesearch-python pypika bibtexparser free-proxy sgmllib3k
Failed to build cchardet
ERROR: Could not build wheels for cchardet, which is required to install pyproject.toml-based projects
happened while following https://gentopia.readthedocs.io/en/latest/installation.html at
the error: