Skip to main content

Installation Methods

Dependencies

Impacket requires the following Python packages, which are automatically installed:

Core Dependencies

Protocol-Specific Dependencies

Platform-Specific

Python Version Requirements

Impacket supports the following Python versions:

Python 3.9

Fully supported

Python 3.10

Fully supported

Python 3.11

Fully supported

Python 3.12

Fully supported

Python 3.13

Fully supported
Python 2.x is no longer supported. Please use Python 3.9 or later.

Virtual Environment Setup

For development or testing, it’s recommended to use a virtual environment:

Upgrading Impacket

Troubleshooting

Make sure Impacket is installed in the correct Python environment:
On Linux/macOS, you may need to use --user flag or run with appropriate permissions:
Or use pipx which handles user installations automatically.
If you encounter SSL errors, update your certificates:

Next Steps

Quick Start Guide

Ready to write your first Impacket script? Continue to the Quick Start guide.