I am trying to build an extension in C for python 3 and I am using Windows. This might be a duplicate question but all the answers for the other question were for linux and I can run sudo on windows. How do I fix this problem ?
Nevermind, I found the answer. You must first search in your python directory for the 'include' folder, for example: "C:\Users\David\AppData\Local\Programs\Python\Python38-32\include", this is where mine is located and then search for Python.h and like that, you have the header.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With