On Sun, 30 Oct 2011, nathan binkert wrote:
Good catch... I had forgotten about that issue. I'm not sure how you check
after the fact that you used the same version, but you can make sure to
avoid it by building from scratch (including deleting all the *.pyc files
under src) and making sure you use the right python version when running
scons (see http://gem5.org/Using_a_non-default_Python_installation).
Unfortunately I did a build from scratch on a configuration where 2.7.1 was
the default python and still got the same original error. (I didn't try
your patch.) So unfortunately the fix for 2.7 is not that simple.
I've been using Ubuntu Natty (11.04) since it came out and it has
Python 2.7.1. I have seen no python issues when running the
regressions, so I need more information to reproduce this.
Nate, is import random required in src/python/m5/internal/__init__.py? If
yes, where is random.py located?
--
Nilay
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev