sudo apt-get -y update && apt-get -y install build-essential
pip install turbob64
Collecting turbob64
Downloading turbob64-1.1.1.tar.gz (46 kB)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 46.3/46.3 kB 1.2 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: turbob64
Building wheel for turbob64 (pyproject.toml): started
Building wheel for turbob64 (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
ร Building wheel for turbob64 (pyproject.toml) did not run successfully.
โ exit code: 1
โฐโ> [24 lines of output]
running bdist_wheel
running build
running build_py
running build_ext
/tmp/pip-build-env-xxlrkbzo/overlay/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-ayvu3hwr/turbob64_afd9cfac43d9484a874a75c22b51ac52/src/turbob64.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Compiling src/turbob64.pyx because it changed.
[1/1] Cythonizing src/turbob64.pyx
building 'turbob64' extension
creating build
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/src
gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/usr/local/include/python3.12 -c src/turbob64.c -o build/temp.linux-x86_64-cpython-312/src/turbob64.o /O3 /fp:fast /arch:AVX /arch:AVX2 /arch:AVX512
gcc: warning: /O3: linker input file unused because linking not done
gcc: error: /O3: linker input file not found: No such file or directory
gcc: warning: /fp:fast: linker input file unused because linking not done
gcc: error: /fp:fast: linker input file not found: No such file or directory
gcc: warning: /arch:AVX: linker input file unused because linking not done
gcc: error: /arch:AVX: linker input file not found: No such file or directory
gcc: warning: /arch:AVX2: linker input file unused because linking not done
gcc: error: /arch:AVX2: linker input file not found: No such file or directory
gcc: warning: /arch:AVX512: linker input file unused because linking not done
gcc: error: /arch:AVX512: linker input file not found: No such file or directory
error: command '/usr/bin/gcc' 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 turbob64
Failed to build turbob64
ERROR: Could not build wheels for turbob64, which is required to install pyproject.toml-based projects
The command '/bin/sh -c pip install turbob64' returned a non-zero code: 1
works on windows however.