2006年06月20日 星期二 00:18
如题。 -- 花开邑大,漫步心月湖。 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060620/66d30054/attachment.html
2006年06月20日 星期二 00:27
首先安装libpcap或者winpcap,你是不是这一步没有做? 然后照例python setup.py install就好了。 如果你是在windows上的话,主页上有exe安装包直接下载的。 On 6/20/06, 谢小漫 <cat at ewyu.com> wrote: > > 如题。 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060620/16bce04c/attachment.htm
2006年06月20日 星期二 10:09
还是没能成功。。。 是不是还要C的编译器的? D:\Program Files\Python24\Lib\site-packages\pypcap-1.1>setup.py install running install running build running build_ext building 'pcap' extension creating build creating build\temp.win32-2.4 creating build\temp.win32-2.4\Release D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG "-ID:\Program Files\Python24\include" "-ID:\Program Files\ Python24\PC" /Tcpcap.c /Fobuild\temp.win32-2.4\Release\pcap.obj pcap.c pcap.c(8) : fatal error C1083: 无法打开包含文件:"pcap.h": No such file or dire ctory error: command '"D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.e xe"' failed with exit status 2 在06-6-20,swordsp <sparas2006 at gmail.com> 写道: > > 首先安装libpcap或者winpcap,你是不是这一步没有做? > 然后照例python setup.py install就好了。 > 如果你是在windows上的话,主页上有exe安装包直接下载的。 > > On 6/20/06, 谢小漫 < cat at ewyu.com> wrote: > > > > 如题。 > > > > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -- 花开邑大,漫步心月湖。 http://www.ewyu.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060620/151ed13f/attachment.htm
2006年06月20日 星期二 11:37
是的,所以我特别提到了windows下有exe安装包,直接装那个就行了。 On 6/20/06, 谢小漫 <cat at ewyu.com> wrote: > > 还是没能成功。。。 > 是不是还要C的编译器的? > D:\Program Files\Python24\Lib\site-packages\pypcap-1.1>setup.py install > running install > running build > running build_ext > building 'pcap' extension > creating build > creating build\temp.win32-2.4 > creating build\temp.win32-2.4\Release > D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c > /nologo /Ox > /MD /W3 /GX /DNDEBUG "-ID:\Program Files\Python24\include" "-ID:\Program > Files\ > Python24\PC" /Tcpcap.c /Fobuild\temp.win32-2.4\Release\pcap.obj > pcap.c > pcap.c(8) : fatal error C1083: 无法打开包含文件:"pcap.h": No such file or dire > ctory > error: command '"D:\Program Files\Microsoft Visual Studio .NET > 2003\Vc7\bin\cl.e > xe"' failed with exit status 2 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060620/a2877e71/attachment.html
2006年06月20日 星期二 14:54
谢谢,原来是这个:Windows Python-2.4 installer<http://www.monkey.org/~dugsong/pypcap/pcap-1.1.win32-py2.4.exe> 我都看错了:以为是python的安装包。 在06-6-20,swordsp <sparas2006 at gmail.com> 写道: > > 是的,所以我特别提到了windows下有exe安装包,直接装那个就行了。 > > On 6/20/06, 谢小漫 <cat at ewyu.com> wrote: > > > 还是没能成功。。。 > > 是不是还要C的编译器的? > > D:\Program Files\Python24\Lib\site-packages\pypcap-1.1>setup.py install > > running install > > running build > > running build_ext > > building 'pcap' extension > > creating build > > creating build\temp.win32-2.4 > > creating build\temp.win32-2.4\Release > > D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c > > /nologo /Ox > > /MD /W3 /GX /DNDEBUG "-ID:\Program Files\Python24\include" > > "-ID:\Program Files\ > > Python24\PC" /Tcpcap.c /Fobuild\temp.win32-2.4\Release\pcap.obj > > pcap.c > > pcap.c(8) : fatal error C1083: 无法打开包含文件:"pcap.h": No such file or dire > > ctory > > error: command '"D:\Program Files\Microsoft Visual Studio .NET > > 2003\Vc7\bin\cl.e > > xe"' failed with exit status 2 > > > > > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > -- 花开邑大,漫步心月湖。 http://www.ewyu.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060620/f8300643/attachment.htm
Zeuux © 2025
京ICP备05028076号