SyntaxError: invalid syntax
有哪位高手弄stlinux的东西,给指教下:
我安装stlinux-2.3,使用的iso镜像是:STLinux-2.3-sh4-03-11-07.iso 然后根据他们网站的提示进行安装,首先先挂载在/mnt/cdrom下面,在该目录下执行 ./install all-sh4-glibc 后,出现以下错误信息:
*************************************************
* Installing STLINUX 2.3
*************************************************
Trying to find out if you are inside STMicroelectronics
Please wait for up to 10 seconds.....
You are not inside ST, using www.stlinux.com
***************************************************************
* 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 for necessary python packages
Traceback (most recent call last):
File "/opt/STM/STLinux-2.3/host/bin/stmyum", line 9, in <module>
import yummain
File "/opt/STM/STLinux-2.3/host/usr/share/yum-cli/yummain.py", line 22, in <module>
from yum import Errors
File "/opt/STM/STLinux-2.3/host/usr/lib/python2.3/site-packages/yum/__init__.py", line 399
self.repos.populateSack(with='filelists')
^
SyntaxError: invalid syntax
Updating stmyum
Traceback (most recent call last):
File "/opt/STM/STLinux-2.3/host/bin/stmyum", line 9, in <module>
import yummain
File "/opt/STM/STLinux-2.3/host/usr/share/yum-cli/yummain.py", line 22, in <module>
from yum import Errors
File "/opt/STM/STLinux-2.3/host/usr/lib/python2.3/site-packages/yum/__init__.py", line 399
self.repos.populateSack(with='filelists')
^
SyntaxError: invalid syntax
请问这是什么问题,大侠指教!