Sagemath Docker 10.9 fails to find python.h

asked 2026-05-10 12:08:41 +0200

With Sagemath Docker 10.9 I opened sagemath_examples.ipynb and clicked run all. It contains cython code at the end "%%cython\n", "def sum_cy(n):\n", " s = 0\n", " for i in range(n):\n", " s += i\n", " return s" This gives a large amount of errors with at the end "python.h not found". Can the docker image be updated to correct this error ?

edit retag flag offensive close merge delete