Python论坛  - 讨论区

标题:[python-chinese] pypcap-1.1如何安装?

2006年06月20日 星期二 00:18

谢小漫 cat at ewyu.com
Tue Jun 20 00:18:57 HKT 2006

如题。

-- 
花开邑大,漫步心月湖。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060620/66d30054/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月20日 星期二 00:27

swordsp sparas2006 at gmail.com
Tue Jun 20 00:27:22 HKT 2006

首先安装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

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月20日 星期二 10:09

谢小漫 cat at ewyu.com
Tue Jun 20 10:09:35 HKT 2006

还是没能成功。。。
是不是还要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

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月20日 星期二 11:37

swordsp sparas2006 at gmail.com
Tue Jun 20 11:37:38 HKT 2006

是的,所以我特别提到了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

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月20日 星期二 14:54

谢小漫 cat at ewyu.com
Tue Jun 20 14:54:45 HKT 2006

谢谢,原来是这个: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

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号