python - 使用 easy_install 导入 pcap

标签 python easy-install

我在 python 2.7.5 中工作,并尝试在使用以下命令安装后导入 pcap:

easy_install pcap

安装后,当我尝试在我的 python shell 中导入 pcap 时出现错误:

Traceback (most recent call last):

  File "<pyshell#0>", line 1, in <module>

    import pcap

ImportError: No module named pcap

最佳答案

那是因为它叫红帽

import redcap

:)

关于python - 使用 easy_install 导入 pcap,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20762005/

相关文章:

python - 如何在 Windows 7 上的 Python 2.7.1 中安装 easy_install

python - easy_install - pyCurl 安装问题

python - 更改 Python easy_install 的默认包含路径

python - 将库添加到可移植 python

python - 在 ubuntu 上安装 PyQt5 时未满足的依赖关系

python - Pandas - 每天日期范围内的值总和

python - Paramiko/加密弃用警告 : CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers

python - 为什么我收到错误 : command 'llvm-gcc-4.2' failed with exit status 1

python - 使用 pyscreenshot 截图

python - PIL python,许可和分发