Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #37417
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: Parse a Wireshark pcap file |
| Date | 2013-01-23 01:24 -0500 |
| Organization | > Bestiaria Support Staff < |
| References | <CAN4UfGzwzHJvpY=Er2B2otZMBm=8eVA6FDGejJbirXLZFTXvsg@mail.gmail.com> <50FF5312.50309@davea.name> <CAN4UfGzBv=OjNZy-+_jzZHuWhP44FmcBa_O5pT01QDFkvLGOOw@mail.gmail.com> <50FF5910.7060309@davea.name> <CAN4UfGwxEBoe9XeAuuoiqXu2_4Zav39D8chc7E67np6D+hcfwg@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.867.1358922591.2939.python-list@python.org> (permalink) |
On Tue, 22 Jan 2013 22:43:24 -0500, Kevin Holleran <kdawg44@gmail.com>
declaimed the following in gmane.comp.python.general:
>
> Mac OS 10.8.2
> Python v.2.7
> I downloaded from the sourceforge site, then tried to install with MacPorts
> when some dependencies were failing. I then downloaded & installed
> pcapy-0.10.6 when that dependency still failed. That solved that but I
> received the dnet error:
>
> from scapy.all import conf
> File "/Library/Python/2.7/site-packages/scapy/all.py", line 16, in
> <module>
> from arch import *
> File "/Library/Python/2.7/site-packages/scapy/arch/__init__.py", line 75,
> in <module>
> from bsd import *
> File "/Library/Python/2.7/site-packages/scapy/arch/bsd.py", line 12, in
> <module>
> from unix import *
> File "/Library/Python/2.7/site-packages/scapy/arch/unix.py", line 20, in
> <module>
> from pcapdnet import *
> File "/Library/Python/2.7/site-packages/scapy/arch/pcapdnet.py", line
> 160, in <module>
> import dnet
> ImportError: No module named dnet
>
> So I downloaded and compiled libdnet-1.11 with a:
> $ sudo ./configure && make
>
> I see it compile fine & the libraries have been installed to:
> /usr/local/sbin/dnet
>
> However, python can't find it... I am not clear on how to point Python
> there...
>
"libdnet" is likely a shared object binary... What I /think/ you are
missing is the Python library that interfaces with that binary...
Could http://pypi.python.org/pypi/dnet answer the question?
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Parse a Wireshark pcap file Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-01-23 01:24 -0500
csiph-web