"command Not Found" Is Displayed After MindCluster ToolBox Is Successfully Installed

Symptom

After the MindCluster ToolBox is successfully installed, it cannot be used. The following error message is displayed:

[Toolbox]...[INFO]Ascend-mindx-toolbox_6.0.0_linux-aarch64 install success,The install path is xxxx !
[root@****]# ascend-dmi -h
-bash: ascend-dmi: command not found

Possible Causes

The MindCluster ToolBox environment variables are not imported.

Solution

Install the corresponding software package or configure environment variables by referring to 5.1 Adding Environment Variables.

Run the following commands to import the environment variables of MindCluster ToolBox:

[root@****]# source /usr/local/Ascend/toolbox/set_env.sh
[root@****]# ascend-dmi -v
ascend-dmi version: 6.0.0