Just in case anyone else has this problem, I fixed it by reinstalling
Python with the --enable-shared option, and then added the path to the
Python shared library to LD_LIBRARY_PATH, and then re-installed GEM5.

On Sat, Feb 4, 2012 at 9:27 AM, Tosiron <[email protected]> wrote:

> Even build/ARM_FS/gem5.fast (or opt), without any options gives the error.
> It's a new installation of GEM5. I've been working with it on a different
> server, but while the build on the new server worked fine, running gives
> that error.
>
>
> On Sat, Feb 4, 2012 at 3:18 AM, Mahmood Naderan <[email protected]>wrote:
>
>> What is the exact command you used?
>>
>> On 2/4/12, Tosiron <[email protected]> wrote:
>> > Hi All,
>> >
>> > I get the following error when I try to run GEM5:
>> >
>> > File "<string>", line 1, in <module>
>> > AttributeError: 'module' object has no attribute 'main'.
>> >
>> > I'm using Python 2.5.
>> >
>> > Can anyone please tell me how I can fix this?
>> >
>> > Thanks!
>> >
>> > Tosi.
>> >
>>
>>
>> --
>> --
>> // Naderan *Mahmood;
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
>
> --
> Tosiron
>
>


-- 
Tosiron
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to