我正在尝试在 Windows 中安装 pyshark。[Python 2.6]。当我尝试在我的 python 代码中导入 pyshark 时。我收到以下错误 -
**Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pyshark\__init__.py", line 1, in <module>
from pyshark.capture.live_capture import LiveCapture
File "pyshark\capture\live_capture.py", line 3, in <module>
from pyshark.capture.capture import Capture
File "pyshark\capture\capture.py", line 4, in <module>
from pyshark.tshark.tshark_xml import packet_from_xml_packet
File "pyshark\tshark\tshark_xml.py", line 4, in <module>
import lxml.objectify
ImportError: DLL load failed: The specified procedure could not be found.**
看起来 lxml.objectify 不可用,但我已经安装了 lxml。