OK, thanks.

I don't understand what is going on, but blindly following the suggestion
made it work.

I needed to do:

python /usr/bin/scons <gem5 options>


Oh, I see what is going on.
/usr/bin/scons  has
#! /usr/bin/python

that is the wrong version...




On Fri, Jan 9, 2015 at 10:48 AM, Jason Power via gem5-dev <[email protected]
> wrote:

> Hi Mike,
>
> The problem is that the python version your scons is using is different
> from your default python version (specified by environment variables e.g.
> PATH). Try "python scons <gem5 options>".
>
> Cheers,
> Jason
>
> On Fri Jan 09 2015 at 12:46:23 PM mike upton via gem5-dev <
> [email protected]>
> wrote:
>
> > I have gem5 working fine on a redhat5 pool.
> > I was asked by our computing folks to move to redhat6.
> >
> > The compile goes fine. But when I try to run I get:
> >
> >  ./build/X86/gem5.opt ./configs/example/se.py -c
> > ./tests/test-progs/hello/bin/x86/linux/hello
> > Traceback (most recent call last):
> >   File "/home/mupton/gem5/src/python/importer.py", line 93, in <module>
> >     sys.meta_path.append(importer)
> > TypeError: 'dict' object is not callable
> >
> >
> > I poked around some, but I don't understand what is going on.
> >
> > gcc=4.7
> > python=2.7.3
> > _______________________________________________
> > gem5-dev mailing list
> > [email protected]
> > http://m5sim.org/mailman/listinfo/gem5-dev
> >
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev
>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to