我正试图在我的kivy应用程序中使用龙卷风.在Linux和Mac上它工作正常,但在iOS龙卷风上没有导入.
2013-07-21 16:50:11.862 application[818:907] [Springtomize]: Loading into sb-external process
2013-07-21 16:50:12.868 application[818:907] PythonHome is: /var/mobile/Applications/B621455C-94BF-4AA7-97A3-B051F090C68A/application.app
2013-07-21 16:50:12.873 application[818:907] Initializing python
2013-07-21 16:50:13.232 application[818:907] Running main.pyo: /var/mobile/Applications/B621455C-94BF-4AA7-97A3-B051F090C68A/application.app/YourApp/main.pyo
[INFO ] Kivy v1.7.1
[INFO ] [Factory ] 144 symbols loaded
[DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=Nones
[DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60s
[DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=Nones
[DEBUG ] [Image ] option <dds> ignored by config
[DEBUG ] [Image ] option <pygame> ignored by config
[DEBUG ] [Image ] option <pil> ignored by config
[DEBUG ] [Image ] option <gif> ignored by config
[INFO ] [Image ] Providers: img_imageio, img_tex (img_dds, img_pygame, img_pil, img_gif ignored)
[DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60s
[DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600s
[DEBUG ] [Text ] Ignored <pygame> (import error)
[INFO ] [Text ] Provider: sdlttf(['text_pygame'] ignored)
Traceback (most recent call last):
File "/Users/0/Desktop/kivy-ios/app-application/YourApp/main.py", line 31, in <module>
**ImportError: No module named tornado.ioloop**
2013-07-21 16:50:14.449 application[818:907] Application quit abnormally!
2013-07-21 16:50:14.496 application[818:907] Leaving
Run Code Online (Sandbox Code Playgroud)
如何在使用kivy构建和在iOS上部署时正确包含模块?
您需要在应用程序中包含所需的所有 python 模块。还记得吗,你为龙卷风做过类似pip install或 的事情吗?easy_install然后你需要将自己融入到你的项目中。
(这有一天会改变,届时 kivy-ios 将能够将纯 python 模块安装到工具链中,就像 python-for-android 那样。)
| 归档时间: |
|
| 查看次数: |
759 次 |
| 最近记录: |