Skip to content

Unable to install Talon on python 3.11.4 due to dependency conflict with cchardet package #234

@subhashb314e

Description

@subhashb314e

I am experiencing difficulties while attempting to install the Talon in my Python 3.11.4 environment. The installation process fails with an error related to the dependency on the cchardet package.
This is the error I'm getting:

 Backend subprocess exited when trying to invoke build_wheel
  
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-13-arm64-cpython-311
creating build/lib.macosx-13-arm64-cpython-311/cchardet
copying src/cchardet/version.py -> build/lib.macosx-13-arm64-cpython-311/cchardet
copying src/cchardet/__init__.py -> build/lib.macosx-13-arm64-cpython-311/cchardet
running build_ext
building 'cchardet._cchardet' extension
creating build/temp.macosx-13-arm64-cpython-311
creating build/temp.macosx-13-arm64-cpython-311/src
creating build/temp.macosx-13-arm64-cpython-311/src/cchardet
creating build/temp.macosx-13-arm64-cpython-311/src/ext
creating build/temp.macosx-13-arm64-cpython-311/src/ext/uchardet
creating build/temp.macosx-13-arm64-cpython-311/src/ext/uchardet/src
creating build/temp.macosx-13-arm64-cpython-311/src/ext/uchardet/src/LangModels
clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -Isrc/ext/uchardet/src -I/private/var/folders/8j/9h5rrd_s4nx5ycsy2j7dfjkw0000gn/T/tmpdbxeaean/.venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/cchardet/_cchardet.cpp -o build/temp.macosx-13-arm64-cpython-311/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

I've tried installing it on linux as well but throws the same error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions