Where is io.h file used as an #include in pyconfig.h (Python 3.12)

I was trying to run
pip install gdal
in Windows 10, using Python 3.12, and got this error
(some stuff)\Python312\include\pyconfig.h(59): fatal error C1083: Cannot open include file: ‘io.h’: No such file or directory
Where can I find this file?

I web searched for io.h and the first hit looks like a solution python - Cannot open include file: 'io.h': No such file or directory - Stack Overflow

Thank you.
Reinstalling VS Build Tools with the Windows 10 SDK solved the problem.

1 Like

Thank you. Worked for me also, to reinstall win10 sdk the built version.
In my case, I was trying to install Python Django Snowflake using the pip.

pip install django-snowflake==5.0.*