我想用buildozer编译一个运行良好的程序:
import webbrowser
from kivy.app import App
class FAN(App):
def build(self):
webbrowser.open_new_tab('http://www.freies-aktivisten-netzwerk.de/wordpress/')
if __name__ == '__main__':
FAN().run()
FAN().stop()`
尽管事实上,我在Buildozer中编写了需求,但它不起作用,我得到了以下错误:
Downloading/unpacking random
Could not find any downloads that satisfy the requirement random
Cleaning up...
No distributions at all found for random
Storing debug log for failure in /home/gilgamesch/.pip/pip.log
.# Command failed: pip install --download-cache=/home/gilgamesch/.buildozer/cache --target=/home/gilgamesch/games/.buildozer/applibs random
random和webbrowser是内置模块,您不应该将它们包含在需求行中。这一行仅适用于将与pip一起安装的外部事物,或具有编译组件的特殊配方的内部/外部事物。你知道吗
相关问题 更多 >
编程相关推荐