T
Termux7mo ago
DevonX

Can not install kiwisolver

Hello i am trying to install kiwisolver but it is failing to build wheels.
aarch64-linux-android-clang++: error: unknown argument: '-fno-openmp-implicit-rpath'
aarch64-linux-android-clang++: error: unknown argument: '-fno-openmp-implicit-rpath'
error: command '/data/data/com.termux/files/usr/bin/aarch64-linux-android-clang++' 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 kiwisolver
Failed to build kiwisolver
ERROR: Could not build wheels for kiwisolver, which is required to install pyproject.toml-based projects
aarch64-linux-android-clang++: error: unknown argument: '-fno-openmp-implicit-rpath'
aarch64-linux-android-clang++: error: unknown argument: '-fno-openmp-implicit-rpath'
error: command '/data/data/com.termux/files/usr/bin/aarch64-linux-android-clang++' 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 kiwisolver
Failed to build kiwisolver
ERROR: Could not build wheels for kiwisolver, which is required to install pyproject.toml-based projects
Solution:
CC=clang-16 CXX=clang-16 pip install kiwisolver seems to have fixed it! Thanks
Jump to solution
8 Replies
Biswa96
Biswa967mo ago
see the workaround here https://github.com/termux/termux-packages/issues/20039 read the full thread before trying.
DevonX
DevonXOP7mo ago
Ah so the wheel issue is not tied directly to the package but it is more general like a compiler?
twaik
twaik7mo ago
Yeah
DevonX
DevonXOP7mo ago
I see. Ima try the fix as soon as i got the time. Kinda semi afk rn It seems like i cant install the tur repo since it needs the kiwisolver to do so lol Hmm i think something else might be wrong
twaik
twaik7mo ago
tur-repo does not need kiwisolver
DevonX
DevonXOP7mo ago
It seems to try to install kiwisolver when i run other commands too like pkg update Really odd
Solution
DevonX
DevonX7mo ago
CC=clang-16 CXX=clang-16 pip install kiwisolver seems to have fixed it! Thanks
Want results from more Discord servers?
Add your server