Before You Start
- Currently, MindStudio supports only mxVision in the MindX SDK and does not support mxIndex.
- mxVision applies to Ubuntu OS, CentOS, EulerOS, LinxOS, KylinOS, and many other OSs. For details about the software package compatibility, see the mxVision User Guide.
- For a Python application project running in a remote operating environment, configure the operating environment before application development.
LD_LIBRARY_PATH=$HOME/Ascend/ascend-toolkit/{version}/runtime/lib64:$LD_LIBRARY_PATH;PYTHONPATH=$HOME/Ascend/ascend-toolkit/{version}/python/site-packages/acl:$PYTHONPATH
Set {version} as required. You can use either of the following methods:
- Add the PYTHONPATH and Runtime paths to the .bashrc file in the operating environment.
- During MindStudio build/run configuration, add environment variables in the Run/Debug Configuration function. For details, see Building and Running an Application Project.
- The running of mxVision depends on Python 3.9. Before installing CANN, ensure that Python 3.9 has been installed and the Python 3.9 environment variables have been configured.
- Ensure that the driver package has been installed in the operating environment. Before starting MindStudio, manually run the set_env.sh script in the Ascend-CANN-Toolkit and the MindX SDK installation directory in the operating environment to set environment variables. Replace the software installation path with the actual one. ({version} indicates the SDK software package version, and {arch} indicates the system architecture.)
source $HOME/Ascend/mindx_sdk/mxVision_{version}/linux-{arch}/mxVision/set_env.sh source $HOME/Ascend/ascend-toolkit/set_env.sh
Parent topic: Developing an Application Based on MindX SDKs