我找了好多文章,装了net-snmp windows版,装了vs2008,装了MinGW,安装还是报错。
C:\Python27>python setup.py build
running build
running build_py
running build_ext
building 'netsnmp.client_intf' extension
D:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W
3 /GS- /DNDEBUG -IC:\Python27\include -IC:\Python27\PC /Tcnetsnmp/client_intf.c
/Fobuild\temp.win32-2.7\Release\netsnmp/client_intf.obj
client_intf.c
netsnmp/client_intf.c(9) : fatal error C1083: 无法打开包括文件:“net-snmp/net-sn
mp-config.h”: No such file or directory
error: command '"D:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' fa
iled with exit status 2
?