NOT AN ANSWER - can you clarify how python3.10-devel solved this? I am stuck in a similar loop wit this. running 3.10.16 trying to install insightface and the ultimate result is:
In file included from insightface/thirdparty/face3d/mesh/cython/mesh_core.cpp:11: insightface/thirdparty/face3d/mesh/cython/mesh_core.h:5:10: fatal error: 'cmath' file not found 5 | #include | ^~~~~~~ 1 error generated. error: command '/usr/bin/clang++' failed with exit code 1
Any guidance would be appreciated.