When I tried to compile a cython file, I got this error.
C:\Users\xxx.\AppData\Local\Programs\Python\Python39\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit code 2
I am using windows 11. and this is my visual studio build tool
enter image description here
I tried visual studio build tool 2019 as well. I got same error.
When I tried to compile a cython file.
Copyright Notice:Content Author:「Nivethan」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/74826854/fatal-error-c1083-cannot-open-include-file-while-compiling-a-cython-file