Closed flylzj closed 6 years ago
Looks like a pyglet problem related to future.
What happens if, in the same conditions (same current working dir, same python interpreter,...) in the python console
´´´´ import os import pyglet pyglet.resource.path.append( os.path.join(os.path.dirname(os.path.realpath(file)), "resources") ) pyglet.resource.reindex() ´´´ Be sure to use the same CWD as in your previous test, 'future' sometimes import unexpected things in the CWD
Thank you, it just suddenly work but i don't know why : )
I install cocos2d, and when i import cocos, EOFError happeded