Hi,
I am new to STLinux and from a while I am trying to install STLinux 2.4 onto my Fedora 25 and it is constantly giving me some errors.

after mounting STLinux-2.4-sh4-20100401.iso, I tried installing by this coomand
Code:
./install all-sh4-uclibc
then I get the following output

Code:
*************************************************
*  Installing STLINUX 2.4 
*************************************************

Trying to find out if you are inside STMicroelectronics
Please wait for up to 10 seconds.....
ping: : Name or service not known
You are not inside ST, using 

***************************************************************
* There is a distribution available in the local directory    *
* This will be used for install. You can issue an             *
* stmyum update command to update your system later on        *
***************************************************************

Looking for a GPG key file
Found a GPG key file in local directory
Installing stmyum
Checking python version
Checking for necessary python packages
Traceback (most recent call last):
  File "/opt/STM/STLinux-2.4/host/bin/stmyum", line 9, in <module>
    import yummain
  File "/opt/STM/STLinux-2.4/host/usr/share/yum-cli/yummain.py", line 22, in <module>
    from yum import Errors
  File "/opt/STM/STLinux-2.4/host/usr/lib/python2.6/site-packages/yum/__init__.py", line 1129
    self.repos.populateSack(with='filelists')
                               ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "/opt/STM/STLinux-2.4/host/bin/stmyum", line 9, in <module>
    import yummain
  File "/opt/STM/STLinux-2.4/host/usr/share/yum-cli/yummain.py", line 22, in <module>
    from yum import Errors
  File "/opt/STM/STLinux-2.4/host/usr/lib/python2.6/site-packages/yum/__init__.py", line 1129
    self.repos.populateSack(with='filelists')
                               ^
SyntaxError: invalid syntax
No installation packages found
how to solve this problem