2013-04-04 40 views
0

Python for Android支持lxml。但是我怎樣才能導入它?在Google網站上,recipe.sh文件中有一個模塊。但我無法在那裏運行它。我得到了一些錯誤:我如何在Android中使用lxml?

[email protected]:/mnt/sdcard $ sh recipe.sh 
: nor found] 
recipe.sh[6]: get_directory: not found 
: not found] 
recipe.sh[9]: syntax error: '{^M' expected 
1 [email protected]:/mnt/sdcard 

不能我只是得到一些.py文件,只需將其導入到我的programms的?

我用這個代碼: https://github.com/kivy/python-for-android/blob/master/recipes/lxml/recipe.sh

有人能幫忙嗎?

回答