You need to link the file in your gcc command. GCC doesn't know to automatically include `python.h` when compiling. This is a common mistake when starting out, but don't worry, in this case, the fix is easy!
Your new command will look something like this:
gcc -I/usr/include/python3.10 -L/usr/lib/python3.10 -lpython3.10 -Wall utilsmodule.c -o Utilc
Lets break down the added sections:
"-I" -- This tells GCC to include the specified folder (in this case, `/usr/include/python3.10`) when compiling your code.
"-L" -- This tells GCC where your python shared/static library are located.
"-l" -- This tells GCC to include a shared/static library from any of the default or specified library locations you gave it. In this case it will include "python3.10" from our "/usr/lib/python3.10" folder.
Let me know if you have any other troubles. I am more than willing to try to help you fix this issue to the best of my ability.