pynetwork / pypcap

pypcap - python libpcap module, forked from code.google.com/p/pypcap
Other
299 stars 74 forks source link

Mac 安装 提示:Requirement already satisfied: pypcap in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages #59

Closed boai closed 6 years ago

boai commented 6 years ago

Mac 安装 提示:

Requirement already satisfied: pypcap in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages

但是导入 import pcap 还是报错:

ModuleNotFoundError: No module named 'pcap'

求解!多谢

xiaolushare commented 6 years ago

你Python版本是3.6比较高,然后用了master版本,你试试Python3的分支版本或者Python2.7

hellais commented 6 years ago

If I understand correctly, you are having problems running pypcap with python3. We have just released a version with python 3 support, so it should now work by simply doing pip install --upgrade pypcap.

I am going to close this as fixed for the moment, but please report back if that is not the case.

xiaolushare commented 6 years ago

This fixed, THX!