|
发表于 2022-5-22 01:27:41
|
显示全部楼层
python3.10 版本太新,识别不了会报错:
Build dependency: Please install Python >= 3.5
照着官方把include/prereq-build.mk改成这样就可以了;
- $(eval $(call SetupHostCommand,python,Please install Python >= 3.5, \
- python3.10 -V 2>&1 | grep 'Python 3', \
- python3.9 -V 2>&1 | grep 'Python 3', \
- python3.8 -V 2>&1 | grep 'Python 3', \
- python3.7 -V 2>&1 | grep 'Python 3', \
- python3.6 -V 2>&1 | grep 'Python 3', \
- python3.5 -V 2>&1 | grep 'Python 3', \
- python3 -V 2>&1 | grep -E 'Python 3\.([5-9]|10)\.?'))
- $(eval $(call SetupHostCommand,python3,Please install Python >= 3.5, \
- python3.10 -V 2>&1 | grep 'Python 3', \
- python3.9 -V 2>&1 | grep 'Python 3', \
- python3.8 -V 2>&1 | grep 'Python 3', \
- python3.7 -V 2>&1 | grep 'Python 3', \
- python3.6 -V 2>&1 | grep 'Python 3', \
- python3.5 -V 2>&1 | grep 'Python 3', \
- python3 -V 2>&1 | grep -E 'Python 3\.([5-9]|10)\.?'))
复制代码 |
|