buildozer 无法下载 webbrowser

buildozer can't download webbrowser

我想编译这个,完美运行,使用 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 安装的外部事物,或 internal/external 其编译组件具有特殊配方的事物。