Discuz! Board

 

 

Search
Discuz! Board Forum Help and Offer Feedback Problem installing papaya game engine in mac osx 10. ...
View: 1300|Reply: 2
go

Problem installing papaya game engine in mac osx 10.6.6

Rank: 1

Post on 2012-3-23 19:05 |All posts
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.

Rank: 1

Post on 2012-5-2 08:41 |All posts
Reply suvsh 's thread

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.

Rank: 1

Post on 2012-5-3 13:14 |All posts
Reply liguo 's thread

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.  
Security Q&A Change Security code Change

Archiver|Comsenz Inc.

All time is GMT+8, 2013-5-25 03:03 , Processed in 0.029352 second(s), 10 queries .

Powered by Discuz! X1.5

© 2001-2010 Comsenz Inc.