Re: implementing pyshark

2015-04-06 Thread Michael S.
On 04/07/2015 03:55 AM, Steven D'Aprano wrote: On Mon, 6 Apr 2015 10:45 pm, Michael S. wrote: I am using kali-linux(debian based). i have installed all from repository. i haven't tried yet to use the source but i don't think it was compiled incorrectly. Kali's developers are quite precise in

Re: implementing pyshark

2015-04-06 Thread Steven D'Aprano
On Mon, 6 Apr 2015 10:45 pm, Michael S. wrote: > I am using kali-linux(debian based). i have installed all from > repository. i haven't tried yet to use the source but i don't think it > was compiled incorrectly. Kali's developers are quite precise in terms > of OS development. What happens if yo

Re: implementing pyshark

2015-04-06 Thread Terry Reedy
On 4/6/2015 8:05 AM, Steven D'Aprano wrote: On Mon, 6 Apr 2015 06:40 pm, Michael S. wrote: Hi everyone. while trying to implement pyshark, i am getting this error: [...] ImportError: No module named _threading Well that's awesome. I don't think I've seen that in Python 2.7 before. Apparen

Re: implementing pyshark

2015-04-06 Thread Peter Otten
Michael S. wrote: [Please don't top-post. Thank you] > import gevent ---> successful > import gevent._threading ---> fails > output : > In [2]: import gevent._threading > --- > ImportError Tr

Re: implementing pyshark

2015-04-06 Thread Michael S.
import gevent ---> successful import gevent._threading ---> fails output : In [2]: import gevent._threading --- ImportError Traceback (most recent call last) in () > 1 import gevent._thread

Re: implementing pyshark

2015-04-06 Thread Michael S.
I am using kali-linux(debian based). i have installed all from repository. i haven't tried yet to use the source but i don't think it was compiled incorrectly. Kali's developers are quite precise in terms of OS development. On 04/06/2015 03:05 PM, Steven D'Aprano wrote: On Mon, 6 Apr 2015 06:

Re: implementing pyshark

2015-04-06 Thread Peter Otten
Michael S. wrote: > Hi everyone. while trying to implement pyshark, i am getting this error: > import pyshark >capture = pyshark.LiveCapture(interface='wlan0') >capture.sniff(timeout=50) >capture > i have tried also to run it through interpreter yet, i got this erro

Re: implementing pyshark

2015-04-06 Thread Steven D'Aprano
On Mon, 6 Apr 2015 06:40 pm, Michael S. wrote: > Hi everyone. while trying to implement pyshark, i am getting this error: [...] > ImportError: No module named _threading Well that's awesome. I don't think I've seen that in Python 2.7 before. Apparently, you are using a version of Python compile

implementing pyshark

2015-04-06 Thread Michael S.
Hi everyone. while trying to implement pyshark, i am getting this error: import pyshark capture = pyshark.LiveCapture(interface='wlan0') capture.sniff(timeout=50) capture i have tried also to run it through interpreter yet, i got this error: import pyshark