Skip to main content

NPU Development Environment Setup

This chapter describes how to install the development environment directly on your computer.

2. Install RKNN-Toolkit2 Environment

2.1 Install Python

Install Miniforge Conda:

Create Python Environment:

2.2 Install RKNN-Toolkit2

2.3 Verify Installation

3. Install Compilation Tools

Install CMake:

For Android boards - Install NDK: Download: https://dl.google.com/android/repository/android-ndk-r19c-linux-x86_64.zip

For Linux boards - Install GCC:

4. Install Board-side RKNPU2 Environment

Check RKNPU2 Driver Version: