Problem installing papaya game engine in mac osx 10.6.6
Hi,I am having problem while installing papaya game engine.
When i run
./install.sh i receive following error message
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/cx_Freeze/initscripts/Console.py", line 9, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 398, in <module>
import UserDict
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py", line 83, in <module>
import _abcoll
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_abcoll.py", line 11, in <module>
from abc import ABCMeta, abstractmethod
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/abc.py", line 8, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_weakrefset.py", line 5, in <module>
from _weakref import ref
ImportError: No module named _weakref
Can anyone help. I have installed python 2.7 from python.org.
[b]Reply [url=forum.php?mod=redirect&goto=findpost&pid=1252&ptid=503][color=Olive]suvsh[/color] 's thread[/url][/b]
In my case, the problem is solved with compiling Python with pydebug turned off (compile withOUT the flag '--with-pydebug'; to successfully compile python, you may need to add '--with-pymalloc'). It appears to me that _weakref.so is only needed and built with --with-pydebug. [b]Reply [url=forum.php?mod=redirect&goto=findpost&pid=1359&ptid=503][color=Olive]liguo[/color] 's thread[/url][/b]
Thanks Liguo! Your tip solved my problem. I would suggest Suvsh to try out this. If you have solve it before let us know the solution if it differ from this.
Page:
[1]