Skip to main content

Requirements

  • Python 3.10 or higher
  • Linux (kernel 5.13+ with Landlock) or macOS (10.5+)

Install from PyPI

The simplest way to install nono-py:
Or with your preferred package manager:

Install from Source

To build from source, you need the Rust toolchain:

1. Install Rust

2. Clone and Build

Verify Installation

Expected output on a supported system:

Development Installation

For contributing or local development:
Or using uv:

Troubleshooting

ImportError: No module named ‘nono_py’

Ensure you’ve installed the package in your active environment:
If using a virtual environment, make sure it’s activated.

Unsupported Platform

If is_supported() returns False:
  • Linux: Check your kernel version (uname -r). Landlock requires 5.13+.
  • macOS: Should work on any recent version.
  • Windows: Not supported.

Build Errors

If building from source fails:
  1. Ensure Rust is installed: rustc --version
  2. Update Rust: rustup update
  3. Check Python version: python --version (3.10+ required)
For detailed build instructions, see the Development Guide.