错误C1083:无法打开包含文件:'sys / socket.h'

时间:2014-06-30 05:21:45

标签: python-2.7 network-programming installation packages

我正在安装包pynids(https://jon.oberheide.org/pynids/)。我很难找到sys.h.我使用的是window7和python 2.7以及pynids-0.6.1

C:\Users\himanshu.dua\Downloads\pynids-0.6.1\pynids-0.6.1>python setup.py install
running install
running build
running build_ext
building 'nidsmodule' extension
C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W
3 /GS- /DNDEBUG -Ilibnids-1.24\src -I/usr/local/include -I/opt/local/include -IC
:\python27\include -IC:\python27\PC /Tcnidsmodule.c /Fobuild\temp.win32-2.7\Rele
ase\nidsmodule.obj
nidsmodule.c
nidsmodule.c(24) : fatal error C1083: Cannot open include file: 'sys/socket.h':
No such file or directory
error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' fa
iled with exit status 2

0 个答案:

没有答案