After installing the module, run pyrit list_cores to verify that your graphics card is actively listed alongside your CPU cores. Troubleshooting Common Errors Error: python2: command not found
The compiler cannot find the development headers for network packet capturing. Solution: Ensure libpcap-dev is installed: sudo apt install -y libpcap-dev Use code with caution. Error: libcrypto.so: cannot open shared object file
sudo apt install python3-pip python3-venv git build-essential -y Use code with caution. Step-by-Step Installation Process
sed -i "s/COMPILE_AESNI/NO_COMPILE_AESNI/" cpyrit/_cpyrit_cpu.c Use code with caution. Run the setup script using Python 2. sudo python2 setup.py build sudo python2 setup.py install Use code with caution. 4. Verify the Installation Check if Pyrit can correctly identify your hardware. pyrit list_cores Use code with caution.
What (if any) did you encounter during compilation?
sudo python3 setup.py install
Verify your hardware is recognized:
sudo pip3 install .
Installing on modern Kali Linux is a common challenge because the tool was originally built for Python 2 , which has been removed from recent official repositories. To get it running in 2026, you must manually install legacy dependencies and compile the source code. ⚠️ Important Note on PyRIT (2026) There are now two distinct tools with this name:
Pyrit requires standard compilation utilities, OpenSSL headers, and Python 2 development libraries to interface with your operating system. Execute the following command to install the required packages:
For GPU support (optional):
Subscribe to our weekly Sunday newsletter below and never miss the latest free sewing patterns and tutorials.