具体报错信息:
-[BuildPythonAPI]: [Batch params]: --py3
INFO: Could not find files for the given pattern(s).
-[BuildPythonAPI]: [ERROR] An error ocurred while executing the py.
-[BuildPythonAPI]: [ERROR] Possible causes:
-[BuildPythonAPI]: [ERROR] - Make sure "py" is installed.
-[BuildPythonAPI]: [ERROR] - Make sure it is available on your Windows "py".
make: *** [PythonAPI] Error 1
在path_to_carla\Util\BuildTools中找到BuildPythonAPI.bat,然后编辑:
where py 1 >nul >>>> where python3 1>nul
py -3替换为python来源:https://github.com/carla-simulator/carla/issues/976