Help Center/ Atlas 300 Application (Model 3000)/ DDK Installation Guide (Ubuntu, ARM)/ FAQs/ What Do I Do If a Message Is Displayed Indicating pip2 or pip Unavailability During Mind Studio or DDK Installation?
Updated on 2022-03-13 GMT+08:00

What Do I Do If a Message Is Displayed Indicating pip2 or pip Unavailability During Mind Studio or DDK Installation?

Symptom

During the installation of Mind Studio or a DDK, the system displays a message indicating that the pip2 or pip is unavailable and exits the installation, as shown in Figure 1 and Figure 2.

Figure 1 Message indicating pip2 unavailability
Figure 2 Message indicating pip unavailability

Possible Cause

pip2 is not updated during pip re-installation.

Solution 1

  1. Run the su root command to switch to the root user and run the pip list command. If no error message is displayed, the pip is available. If an error message is displayed after the pip2 list command is executed, the pip2 is unavailable.
  2. Run the rm /usr/bin/pip2 command as the root user to delete the pip2.
  3. Run the ln -s pip pip2 command to soft link the pip2 to pip.
  4. Run the pip2 list command again. If no error message is displayed, it indicates that the fault has been rectified.

    If the pip and pip2 are still unavailable, see Solution 2.

Solution 2

If the pip installation is abnormal during the dependency installation, run the following commands in sequence:

sudo apt-get remove python-pip python3-pip
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py --user
python3 get-pip.py  --user