-
Notifications
You must be signed in to change notification settings - Fork 444
Description
Hi All,
I am not able to use this pyshark Library with windows environment .
import pyshark
cap = pyshark.FileCapture('D:\mallik.pcap')
print cap.len()
for i in cap:
print i
The Result is as follows.
C:\Python27\python.exe "D:/Trailproject/add two number.py" 2 3 4
0
Traceback (most recent call last):
File "D:/Trailproject/add two number.py", line 5, in
for i in cap:
File "C:\Python27\lib\site-packages\pyshark\capture\capture.py", line 159, in _packets_from_tshark_sync
tshark_process = existing_process or self.eventloop.run_until_complete(self._get_tshark_process())
File "C:\Python27\lib\site-packages\trollius\base_events.py", line 300, in run_until_complete
return future.result()
File "C:\Python27\lib\site-packages\trollius\futures.py", line 287, in result
raise self._exception
WindowsError: [Error 123] The filename, directory name, or volume label syntax is incorrect
Process finished with exit code 1
Please some one help me to get the information whether it can able useful in windows., if so let me know it with example.
I can see other issues far beyond the basic it means it is working for them .
I am use Windows 7 as my OS.