Cython- Cannot open include file: 'io.h': No such file or directory
<p>Just starting learning cython.
I was trying to compile a simple .pyx file.</p>

<pre><code>print("hello")
</code></pre>

<p>Here's my setup.py:</p>

<pre><code>from distutils.core import setup
from Cython.Build import cythonize

setup(
    ext_modules = cythonize("hello.pyx")
)
</code></pre>

<p>Then I run the command.</p>

<pre><code>python setup.py build_ext --inplace
</code></pre>

<p>The error as below. I've struggle on googling it and nothing helpful came to me.</p>

<pre><code>    running build_ext
    building 'hello' extension
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\Jackie\AppData\Local\Continuum\Anaconda3\include -IC:\Users\Jackie\AppData\Local\Continuum\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\wdf\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tchello.c /Fobuild\temp.win32-3.5\Release\hello.obj
    hello.c
    c:\users\jackie\appdata\local\continuum\anaconda3\include\pyconfig.h(68): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 2
</code></pre>

<p>Can someone help me to resolve the error, please?</p>

<p>I have Anaconda3 4.1.1, python3.5 and VS Express 2015 installed.</p>

<p>It's really frustrating...</p>

<p>Well... the error went away after I uninstalled all Microsoft and python related software and install Anaconda and VS2015 Express again.
However, another error came along... </p>

python cython