Your PATH contains a literal "~", which works in some shells but will break when python tries to run subprocesses. Replace the "~" with $HOME.

如果出现如上的错误,说明在 export  depot_tools的路径时,使用了~符号来表示用户文件夹,而python在处理时可能会出错,因此在路径中不能使用~

如 :

export PATH="$PATH:~/Develop/depot_tools"

可以改成:

export PATH="$PATH:$HOME/Develop/depot_tools"

此bug见:

https://bugs.chromium.org/p/chromium/issues/detail?id=952865

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐