You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows11 Anaconda环境下Python3.9导入nfstream时DLL加载失败求助

Windows 11 Anaconda虚拟环境中import nfstream触发DLL加载失败问题求助

环境信息

  • 系统:Windows 11
  • 运行环境:Anaconda虚拟环境(Python 3.9.15,已将环境变量添加至PATH)

报错详情

执行import nfstream时出现如下错误:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\HP\.conda\envs\nfstream\lib\site-packages\nfstream\__init__.py", line 17, in <module>
    from .streamer import NFStreamer
  File "C:\Users\HP\.conda\envs\nfstream\lib\site-packages\nfstream\streamer.py", line 25, in <module>
    from .meter import meter_workflow
  File "C:\Users\HP\.conda\envs\nfstream\lib\site-packages\nfstream\meter.py", line 16, in <module>
    from .engine import create_engine, setup_capture, setup_dissector, activate_capture
  File "C:\Users\HP\.conda\envs\nfstream\lib\site-packages\nfstream\engine\__init__.py", line 16, in <module>
    from .engine import create_engine, setup_capture, setup_dissector, activate_capture
  File "C:\Users\HP\.conda\envs\nfstream\lib\site-packages\nfstream\engine\engine.py", line 16, in <module>
    from _lib_engine import ffi, lib
ImportError: DLL load failed while importing _lib_engine: couldn’t find specific module

已尝试的解决方案

  • 执行pip uninstall nfstream后重新运行pip install -U nfstream
  • 将msvcp71.dll、msvcr71.dll放入windows/system32和windows/SysWOW64目录
  • 安装全部C++运行时工具及开发套件

以上方案均未解决问题,恳请协助。

内容的提问来源于stack exchange,提问作者Annilation

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.05 21:11:01