使用rdpcap成功,我一直在試圖使用功能pdfdump閱讀的.cap文件後,但它不斷給我一個錯誤:問題繪製的.cap文件Scapy的Python3
「AttributeError的:‘SingleTexRunner’對象有沒有屬性「texoutput」「
這裏是我的代碼:
from scapy.all import *
import pyx
a = rdpcap("the file path..")
a.pdfdump("output filename")
人有一個想法如何解決這個問題呢?
仍然不起作用,你可以發佈路徑,也許我在那裏做錯了什麼。謝謝 – gil
我已經在當前目錄中使用了文件,但我認爲這個問題與'PyX'包有關。你可以嘗試升級'pip':'pip3 install --upgrade pip'和'PyX'使用'pip3 install --force-reinstall --upgrade PyX' –