PyShark Installation
Installation Overview
There are multiple ways to install PyShark on systems running Microsoft Windows, Apple macOS or various flavors of Linux. An installation of TShark is also required for PyShark to function correctly. TShark is the command-line interface (CLI) tool from Wireshark. In most cases it is beneficial to install Wireshark, which includes TShark. The binaries for Wireshark are here.
PIP Installation Procedures
pip install pyshark
Use the following pip command to see the dependencies for PyShark prior to installing the package.
pip install --dry-run pyshark
Brew Installation Procedures
brew install --cask wireshark
On Apple macOS systems ChmodBPF is also required to interact for network interfaces.
brew install --cask wireshark-chmodbpf
Use the following brew command to see the dependencies for Wireshark prior to installing the package.
brew deps --tree wireshark