【发布时间】:2020-11-05 02:38:02
【问题描述】:
运行 buildozer 并出现错误:
$ buildozer -v android debug deploy run logcat
ERROR: Could not find a version that satisfies the requirement yaml (from -r requirements.txt (line 2)) (from versions: none)`
ERROR: No matching distribution found for yaml (from -r requirements.txt (line 2))`
但是该模块似乎已安装:
$ pip3 show pyyaml | grep Version
Version: 5.3.1
$ python
>>> import yaml
>>>
buildozer.spec 中当然提到了该模块:
requirements = python3,kivy,yaml
整个应用程序运行正常且没有错误
$ python main.py
- Python 3.7.7
- Buildozer 1.2.0
- PyYAML:5.3.1
【问题讨论】:
标签: python-3.x yaml buildozer pyyaml