You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I Run the command:
from scapy.all import *
a=rdpcap(r"C:\Users\okli\Desktop\hit.pcap")
for b in a:
b.pdfdump(filename=r"C:\Users\okli\Desktop\a.pdf",layer_shift=1)
I encounter a error “AttributeError: module 'pyx' has no attribute 'canvas'”
The all details are listed as:
File "C:\Users\okli\Anaconda3\lib\site-packages\scapy\packet.py", line 418, in pdfdump
canvas = self.canvas_dump(**kargs)
File "C:\Users\okli\Anaconda3\lib\site-packages\scapy\packet.py", line 428, in canvas_dump
canvas = pyx.canvas.canvas()
AttributeError: module 'pyx' has no attribute 'canvas'
And my environment is WIN10(x64)anaconda3.5 kamene
Could you please tell me how to solve it.
The text was updated successfully, but these errors were encountered:
When I Run the command:
from scapy.all import *
a=rdpcap(r"C:\Users\okli\Desktop\hit.pcap")
for b in a:
b.pdfdump(filename=r"C:\Users\okli\Desktop\a.pdf",layer_shift=1)
I encounter a error “AttributeError: module 'pyx' has no attribute 'canvas'”
The all details are listed as:
File "C:\Users\okli\Anaconda3\lib\site-packages\scapy\packet.py", line 418, in pdfdump
canvas = self.canvas_dump(**kargs)
File "C:\Users\okli\Anaconda3\lib\site-packages\scapy\packet.py", line 428, in canvas_dump
canvas = pyx.canvas.canvas()
AttributeError: module 'pyx' has no attribute 'canvas'
And my environment is WIN10(x64)anaconda3.5 kamene
Could you please tell me how to solve it.
The text was updated successfully, but these errors were encountered: