Hi - I'm trying to install datrie but get the following error.
I'm running Ubuntu 23.04 with Python 3.11.4.
$ pip install datrie
Collecting datrie
Using cached datrie-0.8.2.tar.gz (63 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: datrie
Building wheel for datrie (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for datrie (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
running bdist_wheel
running build
running build_clib
building 'datrie' library
creating build
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/libdatrie
creating build/temp.linux-x86_64-cpython-311/libdatrie/datrie
gcc -pthread -B /home/chanlab/miniconda3/compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/chanlab/miniconda3/include -fPIC -O2 -isystem /home/chanlab/miniconda3/include -fPIC -Ilibdatrie -c libdatrie/datrie/alpha-map.c -o build/temp.linux-x86_64-cpython-311/libdatrie/datrie/alpha-map.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 datrie
Failed to build datrie
ERROR: Could not build wheels for datrie, which is required to install pyproject.toml-based projects
Hi - I'm trying to install datrie but get the following error. I'm running Ubuntu 23.04 with Python 3.11.4.
I appreciate any advice. Thanks!