This command forces DPYTHON3_LIBRRY to be python311-d.lib ' This command is mandatory for python311-d. lib 'to be found. Then, run python setup. py bdistw_heel -- build type=Debug to find python311-d.
/// Include Python header, disable linking to pythonX_d.lib on Windows in debug mode #if defined(_MSC_VER) # if (PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION < 4 ...