Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

Cocos package 报错 1.2

$
0
0

@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

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>