Error Message Is Displayed During Software Package Installation

Symptom

When you use MindCluster Ascend Deployer on Windows to download OS dependencies and software packages online and upload the software packages to the installation environment, the error message "[ERROR]Resources missing detected,please run download operation firstly" or "ERROR: No matching distribution found for ansible-core" is displayed during installation verification or installation command execution.

Figure 1 Error message 1
Figure 2 Error message 2

Cause Analysis

After the --os-list parameter is added into the download command, the OS dependencies and Docker required by the CANN package are automatically downloaded and stored in ascend-deployer/ascend_deployer/resources. However, before the installation command is executed, folders where dependencies are located, such as sources and pylibs, are not uploaded to the installation environment.

Solution

Before installation and deployment, upload the entire ascend-deployer directory to the user's home directory where the software is to be installed.