C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWIN32=1 -Ic:\users\pankaj.thakur\appdata\local\programs\python\include -IC:\Users\pankaj.thakur\AppData\Local\Programs\Python\Python35\include -IC:\Users\pankaj.thakur\AppData\Local\Programs\Python\Python35\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" /Tcsrc/twisted/test/raiser.c /Fobuild\temp.win-amd64-3.5\Release\src/twisted/test/raiser.obj
raiser.c
c:\users\pankaj.thakur\appdata\local\programs\python\python35\include\pyconfig.h(243): fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
----------------------------------------
Command "c:\users\pankaj.thakur\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\PANKAJ~1.THA\\AppData\\Local\\Temp\\pip-build-l0ng5jys\\Twisted\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\PANKAJ~1.THA\AppData\Local\Temp\pip-xmsuqiih-record\install-record.txt --single-version-externally-managed --compile --install-headers c:\users\pankaj.thakur\appdata\local\programs\python\include\site\python3.5\Twisted" failed with error code 1 in C:\Users\PANKAJ~1.THA\AppData\Local\Temp\pip-build-l0ng5jys\Twisted\
You'll need to install the Windows SDK to get that missing header file.
Alternatively, you may want to use Anaconda and conda install twisted, which will give you a pre-compiled package.
Most helpful comment
You'll need to install the Windows SDK to get that missing header file.
Alternatively, you may want to use Anaconda and
conda install twisted, which will give you a pre-compiled package.