Skip to main content

Setting Up the Environment

Navigation bar


Set SNPE Environment Variables​

First, set the default SNPE_ROOT

export SNPE_ROOT='pwd'
# Or
export SNPE_ROOT='/opt/qcom/aistack/qairt/2.22.6.240515/'

snpe3

Setting SNPE environment variables

Install Python 3.10​

sudo apt-get update
sudo apt-get install python3.10 python3-distutils libpython3.10

snpe4

Installing Python 3.10


System Dependencies:​

Install system libraries

sudo bash ${SNPE_ROOT}/bin/check-linux-dependency.sh

snpe5

Installing Python 3.10

Note: If prompted to add other sources during installation, you can skip this by pressing ctrl-c

snpe6

Skipping adding sources

snpe7

Dependencies installation complete


If prompted to add sources, skip it by pressing ctrl-c. The default sources are sufficient.

AI Translation Notice

This page was translated into English by AI and is provided for reference only. The original document is written in Chinese. If there is any discrepancy, the Chinese version prevails.

本页英文内容由 AI 自动翻译生成,仅供参考;原文为中文,如有差异请以中文原文为准。

查看中文原文 / View the Chinese original →