Hi, It looks like you’ve got a couple of conflicting versions of python. Was scons installed using the version of python that you have in your path? See the following for more information: http://stackoverflow.com/questions/13194308/importerror-cannot-import-name-urandom
Ali On Nov 4, 2013, at 7:01 PM, 박상욱 <s524.p...@samsung.com> wrote: > Hello, Gem5 > > I'm goint to use gem5. > When I tried to scons build, I encounterd a prolbem as below. > ( I followed the video tutorials on the wiki, too) > > If you have any idae to solve it, please let me know the solution with > detailed explanation or guide for me. > > psw@psw-desktop:~/work/gem5$ ls > build_opts COPYING LICENSE SConstruct system util > configs ext README src tests > psw@psw-desktop:~/work/gem5$ scons build/ARM/gem5.opt > Traceback (most recent call last): > File "/usr/bin/scons", line 175, in <module> > import SCons.Script > File "/usr/lib/scons/SCons/__init__.py", line 43, in <module> > import SCons.compat > File "/usr/lib/scons/SCons/compat/__init__.py", line 261, in <module> > import tempfile > File "/usr/lib/python2.6/tempfile.py", line 34, in <module> > from random import Random as _Random > File "/usr/lib/python2.6/random.py", line 47, in <module> > from os import urandom as _urandom > ImportError: cannot import name urandom > > Thank you in advance > > Sangwook Park > > > > > <201311051001607_R2OCEO92.gif> > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users