Try this:
http://search.gmane.org/?query=undefined+symbol%3A+_Py_ZeroStruct&group=gmane.comp.emulators.m5.users

Regards,
Digant Desai.




On Fri, Mar 11, 2011 at 08:24, Bartosz Wojciechowski <
[email protected]> wrote:

> Hi Everyone!
>
> I'm trying to run M5 on a fancy big-iron cluster, but have stumbled upon
> some problems with python. The only available version is 2.3.4, so i had
> to install python, scons and swig in my home directory, and this is what
> i get:
>
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
>  File "/home/bartek/m5/src/python/importer.py", line 73, in load_module
>    exec code in mod.__dict__
>  File "/home/bartek/m5/src/python/m5/__init__.py", line 39, in <module>
>    import SimObject
>  File "/home/bartek/m5/src/python/importer.py", line 73, in load_module
>    exec code in mod.__dict__
>  File "/home/bartek/m5/src/python/m5/SimObject.py", line 40, in
> <module>
>    from m5.util import *
>  File "/home/bartek/m5/src/python/importer.py", line 73, in load_module
>    exec code in mod.__dict__
>  File "/home/bartek/m5/src/python/m5/util/__init__.py", line 38, in
> <module>
>    from code_formatter import code_formatter
>  File "/home/bartek/m5/src/python/importer.py", line 73, in load_module
>    exec code in mod.__dict__
>  File "/home/bartek/m5/src/python/m5/util/code_formatter.py", line 28,
> in <module>
>    import inspect
>  File "/home/bartek/lib/python2.7/inspect.py", line 41, in <module>
>    from operator import attrgetter
> ImportError: /home/bartek/lib/python2.7/lib-dynload/operator.so:
> undefined symbol: _Py_TrueStruct
>
> I tried reading
> http://m5sim.org/wiki/index.php/Using_a_non-default_Python_installation
> but since this page has last been updated on 29 August 2006, at 18:26, i
> was wondering whether anyone has tried running M5 with $HOME-installed
> Python recently. Preferably on Scientific Linux SL release 4.5 :-)
>
> --
> Greetings,
> Bartosz Wojciechowski
>
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to