@Fuatnow 写道:
升级了cocos命令
FuatnowdeMacBook-Pro:~ fuatnow$ python -V Python 2.7.10 FuatnowdeMacBook-Pro:~ fuatnow$ cocos -v 2.2 FuatnowdeMacBook-Pro:~ fuatnow$ which cocos /Applications/CocosCreator.app/Contents/Resources/cocos2d-x/tools/cocos2d-console/bin/cocos FuatnowdeMacBook-Pro:~ fuatnow$ cocos package -h Traceback (most recent call last): File "/Applications/CocosCreator.app/Contents/Resources/cocos2d-x/tools/cocos2d-console/plugins/plugin_package/cocospackage.py", line 67, in <module> main() File "/Applications/CocosCreator.app/Contents/Resources/cocos2d-x/tools/cocos2d-console/plugins/plugin_package/cocospackage.py", line 61, in main import package ImportError: dlopen(/Applications/CocosCreator.app/Contents/Resources/cocos2d-x/tools/cocos2d-console/plugins/plugin_package/bin/64bit/package.so, 2): Library not loaded: /Library/Frameworks/Python.framework/Versions/2.7/Python Referenced from: /Applications/CocosCreator.app/Contents/Resources/cocos2d-x/tools/cocos2d-console/plugins/plugin_package/bin/64bit/package.so Reason: image not found Error running command, return code: 1. FuatnowdeMacBook-Pro:~ fuatnow$
帖子: 1
参与者: 1