Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Hi help me in installing pcapy extension module

Reply
Thread Tools

Hi help me in installing pcapy extension module

 
 
pranesh
Guest
Posts: n/a
 
      11-02-2009
dear friends,

I have python 2.6.4 i my Windows XP machine.
I am trying to install pcapy - python extension module
( I am using http://oss.coresecurity.com/projects/pcapy.html for
reference )

I decided to implement the libpcap library...
Since I have only windows xp machine......
I installed WinPcap - this is a port of libpcap - windows uses this
WinPcap

As the pcapy extension is written in C++ it needs to be compiled for
the host system before it can be accessed from Python.
In order to compile and install the source, I executed
python setup.py install
from the directory where Pcapy's distribution has been unpacked.

Now, I am getting the following error,

C:\pcapy-0.10.4>python setup.py install
running install
running build
running build_ext
building 'pcapy' extension
error: Unable to find vcvarsall.bat

I request you to help me in solving this problem.

regards
Prashanth
 
Reply With Quote
 
 
 
 
Diez B. Roggisch
Guest
Posts: n/a
 
      11-02-2009
pranesh schrieb:
> dear friends,
>
> I have python 2.6.4 i my Windows XP machine.
> I am trying to install pcapy - python extension module
> ( I am using http://oss.coresecurity.com/projects/pcapy.html for
> reference )
>
> I decided to implement the libpcap library...
> Since I have only windows xp machine......
> I installed WinPcap - this is a port of libpcap - windows uses this
> WinPcap
>
> As the pcapy extension is written in C++ it needs to be compiled for
> the host system before it can be accessed from Python.
> In order to compile and install the source, I executed
> python setup.py install
> from the directory where Pcapy's distribution has been unpacked.
>
> Now, I am getting the following error,
>
> C:\pcapy-0.10.4>python setup.py install
> running install
> running build
> running build_ext
> building 'pcapy' extension
> error: Unable to find vcvarsall.bat


This looks to my as if you are missing Visual C++, or at least it's not
properly set up.

> I request you to help me in solving this problem.


I'm not a native-speaker - and I guess you aren't either. But "I request
you to help me" is rather rude, as well as your subject. "I kindly ask
you to help me" would be better I'd say.

Diez
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
icmp sniffer with pcapy module billiejoex Python 0 09-09-2005 03:17 PM
Does any1 use pcapy module on win32 platforms? billiejoex Python 2 08-26-2005 06:02 PM
[ANNOUNCE] Python network security tools: Pcapy, Impacket, InlineEgg CORE Security Technologies Python 1 11-28-2003 06:05 PM
[ANNOUNCE] Python network security tools: Pcapy, Impacket, InlineEgg CORE Security Technologies Python 1 11-28-2003 08:29 AM
[ANNOUNCE] Python network security tools: Pcapy, Impacket,InlineEgg CORE Security Technologies Python 0 11-27-2003 10:38 PM



Advertisments