Hi

Try

sudo apt-get install python3-dev cython3

Regards,
Jan

On Mon, 16 Oct 2023 at 20:48, Rolandb <roland.vandenbr...@gmail.com> wrote:

> Hi,
>
> Using Sagemath 9.8, and Ubuntu 22.04, I got the following error message
> when I tried to use %%cython in a Jupiter notebook cell:
>
> In file included from /usr/include/python3.10/Python.h:8, from
> /home/roland/.cache/ipython/cython/_cython_magic_a687e319b78554b58b88d328883ed96d.c:19:
> /usr/include/python3.10/pyconfig.h:3:12: fatal error:
> x86_64-linux-gnu/python3.10/pyconfig.h: No such file or directory 3 | #
> include <x86_64-linux-gnu/python3.10/pyconfig.h> |
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
>
> Any hints on what to do are appreciated!
>
> Roland
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/ad8a4074-6f12-4f97-8c5a-0e2d8ada4584n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-support/ad8a4074-6f12-4f97-8c5a-0e2d8ada4584n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAg%3Dp_1F%2B-k8rRpvx2aEynWdwkmRc5y%2BBdD2PHXJzjUufr1qoQ%40mail.gmail.com.

Reply via email to