K
K
kokapuk2020-11-02 03:46:07
C++ / C#
kokapuk, 2020-11-02 03:46:07

I can't compile .c to .exe, what should I do?

I have a .py code, with cython I converted it to .c, using gcc -c name.c gives the following error: fatal error: Python.h: No such file or directory
#include "Python.h"
Like it can be fixed?
My operating system is Windows.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
CityCat4, 2020-11-02
@CityCat4

And what is incomprehensible? Looking for directions to google translate? :)

T
Tynkute, 2020-11-13
@Tynkute

Check where the file you need is located.
It must be in the same directory as the executable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question