Prerequisites
Before you begin, ensure you have:Installation
Standard Installation
Installscanoss-py from PyPI:
Fast Winnowing
Fast winnowing is an optional extension that provides a significant performance improvement in fingerprinting. Install it separately if you require faster scanning throughput:Dependency Scanning
To enable dependency scanning from package manifests and lockfiles (such aspackage.json, requirements.txt, and pom.xml), install scancode-toolkit:
Note: This is only required if you intend to use the-Dor--dependenciesflag to scan declared dependencies. Standard file and snippet scanning does not require this package.
Installation on Externally Managed Environments
Modern Linux distributions (Ubuntu 23.04+, Fedora 38+, Debian 11+) enforce externally managed Python environments, which prevent directpip installs into the system Python. Use pipx to install scanoss-py in an isolated environment: