Common issues when setting up PyRIT for local development.
uv Issues¶
uv command not found¶
Make sure uv is in your PATH. Restart PowerShell after installation.
Import errors¶
Ensure you’re using uv run python or have activated the virtual environment:
.\.venv\Scripts\Activate.ps1Dependency conflicts¶
Try regenerating the lock file:
Remove-Item uv.lock
uv syncModule not found errors¶
PyRIT is installed in editable mode, so changes to the source code are immediately reflected. If you see import errors:
uv sync --reinstall-package pyrit