Installation Guide¶
Prerequisites¶
Before installing AKQuant, please ensure your system meets the following requirements:
- Python: Version >= 3.10.
- Rust: If compiling from source, install the latest stable version of Rust. Install Rust
- OS: macOS, Linux, Windows.
Installation Methods¶
1. Install from PyPI (Recommended)¶
AKQuant is now available on PyPI. You can install the pre-compiled wheel (no Rust required) via:
2. Install from Source (Development Mode)¶
If you wish to contribute to development or use the latest features, you can install from source.
First, clone the repository:
Create and activate a virtual environment (optional but recommended):
Install the build tool maturin:
Build and install into the current environment:
Or build a release version (for optimized performance):
Verify Installation¶
After installation, you can import akquant in Python to verify:
If no errors occur, the installation was successful.