Help Center/ Atlas 300 Application (Model 3000)/ DDK Installation Guide (EulerOS)/ FAQs/ What Do I Do If the Message "Warning: DDK functions except TE have been successfully installed." Is Displayed During DDK Installation?
Updated on 2022-03-13 GMT+08:00

What Do I Do If the Message "Warning: DDK functions except TE have been successfully installed." Is Displayed During DDK Installation?

Symptom

After the DDK installation script is executed, messages such as "error: install te-0.4.0.egg failed" and "error: install topi-0.4.0.egg failed" are displayed during the installation. However, the message "Warning: DDK functions except TE have been successfully installed." is displayed when the installation is complete. The DDK has been successfully installed, but TE functions are unavailable.

Possible Cause

The root user adopts an earlier version (0.9.8) of setuptools. When the root user is switched to the DDK installation user to install the DDK, the system still reads the setuptools path of the root user. As a result, setuptools used by the DDK installation user does not take effect.

Solution

Run the following command as the DDK installation user to set the environment variable for the setuptools run by the DDK installation user to take effect, and then reinstall the DDK:

export PATH=$HOME/bin:$HOME/.local/bin:$PATH