问题1:
ninja -C out/m101_debug
Traceback (most recent call last):
File "/home/test/webrtc/depot_tools/ninja.py", line 35, in <module>
def parse_args(ninja_args: list[str]):
TypeError: 'type' object is not subscriptable
解决办法:
sudo apt install -y ninja-build
ninja -C out/m101_debug
Traceback (most recent call last):
File "/home/test/webrtc/depot_tools/ninja.py", line 35, in <module>
def parse_args(ninja_args: list[str]):
TypeError: 'type' object is not subscriptable
解决办法:
升级python到3.9
sudo apt update sudo apt install -y software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update
sudo apt install -y python3.9 python3.9-dev python3.9-distutils
# 配置更新替代项 sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 10 sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 20 # 选择默认 Python 3 版本(输入 2 选 3.9) sudo update-alternatives --config python3
3349

被折叠的 条评论
为什么被折叠?



