我收到以下错误。我实际上可以从下面给出的 buid 根目录中看到“build/envsetup.sh”,但我不断收到此错误。
以下行有什么问题吗?
makecommand=Popen(['source build/envsetup.sh'],stderr=PIPE)"
BUILD_ROOT_DIR /local/mnt/workspace/AU
Traceback (most recent call last):
File "test.py", line 266, in <module>
main()
File "test.py", line 263, in main
cherrypick(base_change,SCRIPT_ROOT)
File "test.py", line 204, in cherrypick
makebuild(change)
File "test.py", line 97, in makebuild
makecommand=Popen(['source build/envsetup.sh'],stderr=PIPE)
File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory