I am creating a Python module using C, though when I use #include <Python.h> it says that it find this file, even though I have added it to the user PATH variable.
If I use #include "C:/Users/<my user>/AppData/Local/Programs/Python/Python38/include/Python.h" it works on my PC, though this leads to errors when importing via PyPi, so I would like the first method to work.
Any ideas as to how I can fix this would be greatly appreciated!
PATHvariable to determine their include directory search pattern.PATHenvironment variable is the search path for executables, not for C include files.PATHenvironment variable).