Wind River Support Network

HomeDefectsLIN1019-3837
Fixed

LIN1019-3837 : setup.sh fails with updated Python v3

Created: Dec 23, 2019    Updated: Jan 16, 2020
Resolved Date: Jan 7, 2020
Found In Version: 10.19.45.2
Fix Version: 10.19.45.3
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: Build & Config

Description

Updated system to python 3.6.x for another WR product requirement.  The /usr/bin/python was set as a soft link to /usr/bin/python3.6, which causes a failure for the setup.sh command.  Changing the link back to point to the old python2.7 executable executes correctly.  We should add checks to ensure the correct version or execute the version specific executable.

Workaround

1. Ensure /usr/python is pointing to /usr/python2

Steps to Reproduce

# soft link /usr/python to point to /usr/python3.6 o /usr/python3
 # install and run as normal
 # error occurs (see attached) !setupErr.png!
Live chat
Online